WIP spark mint transaction fix

This commit is contained in:
julian 2023-12-07 10:57:54 -06:00 committed by sneurlax
parent 095bfc2ff3
commit 2e19dd8545

View file

@ -321,10 +321,10 @@ mixin SparkInterface on Bip39HDWallet, ElectrumXInterface {
List<int> serialContext = []; List<int> serialContext = [];
final mintRecipients = LibSpark.createSparkMintRecipients( final mintRecipients = LibSpark.createSparkMintRecipients(
outputs: txData.utxos! outputs: txData.recipients!
.map((e) => ( .map((e) => (
sparkAddress: e.address!, sparkAddress: e.address,
value: e.value, value: e.amount.raw.toInt(),
memo: "Stackwallet spark mint" memo: "Stackwallet spark mint"
)) ))
.toList(), .toList(),