diff --git a/fusiondart b/fusiondart index 86faed63a..3aa2c5a2a 160000 --- a/fusiondart +++ b/fusiondart @@ -1 +1 @@ -Subproject commit 86faed63a7bb553087ceb1b44b38ff0b6d68932d +Subproject commit 3aa2c5a2ab4cd22de8e80a2029276689ab94006e diff --git a/lib/services/mixins/fusion_wallet_interface.dart b/lib/services/mixins/fusion_wallet_interface.dart index 70abbd1a2..fa9f0efb2 100644 --- a/lib/services/mixins/fusion_wallet_interface.dart +++ b/lib/services/mixins/fusion_wallet_interface.dart @@ -410,8 +410,8 @@ extension FusionUTXO on UTXO { } return fusion_input.Input( - txid: utf8.encode(txid), // TODO verify this is what we want. - index: vout, // TODO verify this is what we want. + prevTxid: utf8.encode(txid), // TODO verify this is what we want. + prevIndex: vout, // TODO verify this is what we want. pubKey: pubKey, // TODO fix public key. amount: value, ); @@ -468,8 +468,8 @@ extension FusionTransaction on Transaction { ); return fusion_input.Input( - txid: utf8.encode(e.txid), // TODO verify this is what we want. - index: e.vout, // TODO verify this is what we want. + prevTxid: utf8.encode(e.txid), // TODO verify this is what we want. + prevIndex: e.vout, // TODO verify this is what we want. pubKey: utf8.encode('0000'), // TODO fix public key. amount: value.raw.toInt(), );