File tree Expand file tree Collapse file tree
app/src/main/java/to/bitkit/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import com.synonym.bitkitcore.OnchainActivity
2020import com.synonym.bitkitcore.PaymentState
2121import com.synonym.bitkitcore.PaymentType
2222import com.synonym.bitkitcore.PreActivityMetadata
23+ import com.synonym.bitkitcore.Scanner
2324import com.synonym.bitkitcore.SortDirection
2425import com.synonym.bitkitcore.WordCount
2526import com.synonym.bitkitcore.addTags
@@ -185,6 +186,12 @@ class CoreService @Inject constructor(
185186 com.synonym.bitkitcore.isAddressUsed(address = address)
186187 }
187188
189+ @Suppress(" ForbiddenComment" )
190+ suspend fun decode (input : String ): Scanner = ServiceQueue .CORE .background {
191+ // TODO: Remove lowercase workaround when https://github.com/synonymdev/bitkit-core/issues/66 is fixed
192+ com.synonym.bitkitcore.decode(input.lowercase())
193+ }
194+
188195 companion object {
189196 private const val TAG = " CoreService"
190197 }
You can’t perform that action at this time.
0 commit comments