diff --git a/fusiondart b/fusiondart index 102a596d6..6f354562f 160000 --- a/fusiondart +++ b/fusiondart @@ -1 +1 @@ -Subproject commit 102a596d633e00799ffd7ea82e83a02f8a14d984 +Subproject commit 6f354562f2bc2e4807816cc7abc90c465afda157 diff --git a/lib/models/isar/models/blockchain_data/transaction.dart b/lib/models/isar/models/blockchain_data/transaction.dart index c16d59e2c..dbacfe544 100644 --- a/lib/models/isar/models/blockchain_data/transaction.dart +++ b/lib/models/isar/models/blockchain_data/transaction.dart @@ -246,8 +246,8 @@ class Transaction { return fusion_input.Input( prevTxid: utf8.encode(e.txid), prevIndex: e.vout, - pubKey: utf8.encode(address.value.toString()), // TODO is this valid? - amount: amount, // TODO is this valid? + pubKey: utf8.encode(address.value.toString()), // TODO fix public key. + amount: amount, // TODO is this valid? Probably not. ); }).toList(); diff --git a/lib/services/mixins/fusion_wallet_interface.dart b/lib/services/mixins/fusion_wallet_interface.dart index de2a5bdbc..1b5640512 100644 --- a/lib/services/mixins/fusion_wallet_interface.dart +++ b/lib/services/mixins/fusion_wallet_interface.dart @@ -84,7 +84,7 @@ mixin FusionWalletInterface { return _txs .map((tx) => tx.toFusionTransaction()) - .toSet(); // TODO feed in proper public key + .toSet(); // TODO fix public key. } /// Returns a list of all UTXOs in the wallet for the given address. @@ -93,7 +93,7 @@ mixin FusionWalletInterface { return _utxos .map((utxo) => utxo.toFusionInput( - pubKey: utf8.encode('0000'))) // TODO feed in proper public key + pubKey: utf8.encode(address.toString()))) // TODO fix public key. .toList(); }