diff --git a/lib/services/mixins/fusion_wallet_interface.dart b/lib/services/mixins/fusion_wallet_interface.dart index 83e273f1b..5a9cb6cbe 100644 --- a/lib/services/mixins/fusion_wallet_interface.dart +++ b/lib/services/mixins/fusion_wallet_interface.dart @@ -547,7 +547,7 @@ extension FusionTransaction on Transaction { } final scriptPubKeyHex = - _tx["vout"]?[input.vout]?["scriptPubKey"] as String?; + _tx["vout"]?[input.vout]?["scriptPubKey"]?["hex"] as String?; if (scriptPubKeyHex == null) { throw Exception( "scriptPubKey of vout index ${input.vout} in transaction is null",