mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
Check if address is parsed then create the transaction with the parsed address not the entered address (#585)
This commit is contained in:
parent
b182c26ff2
commit
65dfb83a27
1 changed files with 3 additions and 1 deletions
|
@ -187,7 +187,9 @@ abstract class HavenWalletBase extends WalletBase<MoneroBalance,
|
|||
accountIndex: walletAddresses.account!.id);
|
||||
} else {
|
||||
final output = outputs.first;
|
||||
final address = output.address;
|
||||
final address = output.isParsedAddress && (output.extractedAddress?.isNotEmpty ?? false)
|
||||
? output.extractedAddress!
|
||||
: output.address;
|
||||
final amount = output.sendAll
|
||||
? null
|
||||
: output.cryptoAmount!.replaceAll(',', '.');
|
||||
|
|
Loading…
Reference in a new issue