mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-18 16:55:58 +00:00
Update balance after sending
This commit is contained in:
parent
b39b2bbb99
commit
a936a3b661
1 changed files with 5 additions and 1 deletions
|
@ -399,6 +399,10 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
|
|||
return TxWitnessInput(stack: [key.signInput(digest), key.getPublic().toHex()]);
|
||||
}).toList()).toHex();
|
||||
tx.outputs = resp.outputId;
|
||||
return tx;
|
||||
return tx..addListener((transaction) async {
|
||||
transaction.inputAddresses?.forEach(mwebUtxos.remove);
|
||||
await updateUnspent();
|
||||
await updateBalance();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue