mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
placeholder pubkey and comment updates
This commit is contained in:
parent
309fce399f
commit
183ac9dd27
3 changed files with 5 additions and 5 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 102a596d633e00799ffd7ea82e83a02f8a14d984
|
Subproject commit 6f354562f2bc2e4807816cc7abc90c465afda157
|
|
@ -246,8 +246,8 @@ class Transaction {
|
||||||
return fusion_input.Input(
|
return fusion_input.Input(
|
||||||
prevTxid: utf8.encode(e.txid),
|
prevTxid: utf8.encode(e.txid),
|
||||||
prevIndex: e.vout,
|
prevIndex: e.vout,
|
||||||
pubKey: utf8.encode(address.value.toString()), // TODO is this valid?
|
pubKey: utf8.encode(address.value.toString()), // TODO fix public key.
|
||||||
amount: amount, // TODO is this valid?
|
amount: amount, // TODO is this valid? Probably not.
|
||||||
);
|
);
|
||||||
}).toList();
|
}).toList();
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ mixin FusionWalletInterface {
|
||||||
|
|
||||||
return _txs
|
return _txs
|
||||||
.map((tx) => tx.toFusionTransaction())
|
.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.
|
/// Returns a list of all UTXOs in the wallet for the given address.
|
||||||
|
@ -93,7 +93,7 @@ mixin FusionWalletInterface {
|
||||||
|
|
||||||
return _utxos
|
return _utxos
|
||||||
.map((utxo) => utxo.toFusionInput(
|
.map((utxo) => utxo.toFusionInput(
|
||||||
pubKey: utf8.encode('0000'))) // TODO feed in proper public key
|
pubKey: utf8.encode(address.toString()))) // TODO fix public key.
|
||||||
.toList();
|
.toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue