mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-12 09:32:33 +00:00
fix nano exchange
This commit is contained in:
parent
95e7ee1cbb
commit
9fad4e114f
2 changed files with 4 additions and 2 deletions
|
@ -182,7 +182,9 @@ abstract class NanoWalletBase
|
|||
|
||||
final block = await _client.constructSendBlock(
|
||||
amountRaw: amt.toString(),
|
||||
destinationAddress: txOut.extractedAddress ?? txOut.address,
|
||||
destinationAddress: credentials.outputs.first.isParsedAddress
|
||||
? credentials.outputs.first.extractedAddress!
|
||||
: credentials.outputs.first.address,
|
||||
privateKey: _privateKey!,
|
||||
balanceAfterTx: runningBalance,
|
||||
previousHash: previousHash,
|
||||
|
|
|
@ -96,7 +96,7 @@ abstract class ExchangeTradeViewModelBase with Store {
|
|||
Timer? timer;
|
||||
|
||||
@action
|
||||
Future confirmSending() async {
|
||||
Future<void> confirmSending() async {
|
||||
if (!isSendable) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue