diff --git a/lib/wallets/wallet/wallet_mixin_interfaces/spark_interface.dart b/lib/wallets/wallet/wallet_mixin_interfaces/spark_interface.dart index 5b2c2c601..426217fac 100644 --- a/lib/wallets/wallet/wallet_mixin_interfaces/spark_interface.dart +++ b/lib/wallets/wallet/wallet_mixin_interfaces/spark_interface.dart @@ -1687,12 +1687,6 @@ mixin SparkInterface ); } -String base64ToReverseHex(String source) => - base64Decode(LineSplitter.split(source).join()) - .reversed - .map((e) => e.toRadixString(16).padLeft(2, '0')) - .join(); - /// Top level function which should be called wrapped in [compute] Future< ({ @@ -1774,7 +1768,7 @@ Future> _identifyCoins( } final serializedCoinB64 = data[0]; - final txHash = base64ToReverseHex(data[1]); + final txHash = data[1].toHexReversedFromBase64; final contextB64 = data[2]; final coin = LibSpark.identifyAndRecoverCoin(