mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
fix , bug, i.e. replace , with . when making a nano transaction
This commit is contained in:
parent
9fad4e114f
commit
0e201f3970
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ abstract class NanoWalletBase
|
|||
amt = balance[currency]?.currentBalance ?? BigInt.zero;
|
||||
} else {
|
||||
amt = BigInt.tryParse(
|
||||
NanoUtil.getAmountAsRaw(txOut.cryptoAmount ?? "0", NanoUtil.rawPerNano)) ??
|
||||
NanoUtil.getAmountAsRaw(txOut.cryptoAmount?.replaceAll(',', '.') ?? "0", NanoUtil.rawPerNano)) ??
|
||||
BigInt.zero;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue