Closed nop33 closed 11 months ago
It appears that the consolidation modal is properly displayed.
I tested it using the following code. In summary:
for (let i = 0; i < 5; i++) {
const unsignedTxData = await client.node.transactions.postTransactionsBuild({
fromPublicKey: address.publicKey,
destinations: Array.from({ length: 135 }, () => ({
address: '18xPARoYPLBGF7CPKZCaT6yyvfZ2hwujT3eY6haRhomvq',
attoAlphAmount: '1000000000000000'
}))
})
const signature = await signAndSendTransaction(address, unsignedTxData.txId, unsignedTxData.unsignedTx)
console.log('signature', signature)
}
This is the commit that fixes the bug: 7851994e8
It will be included in the next release.
It's merged in master, so closing.
A user on Discord was looking for help because they received an error:
First of all, it is not acceptable to display errors like this, they provide 0 value. Thankfully, some of our Discord superhero helped the user to figure out their problem. The user needed to do a UTXO consolidation first.
Secondly, it seems that our error handling for UTXO consolidation does not work on v2.1.5.