mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 11:16:36 +00:00
Merge pull request #472 from cypherstack/firo/spend-mints
ui fixes for firo/spend-mints
This commit is contained in:
commit
2e1b12b675
1 changed files with 10 additions and 2 deletions
|
@ -914,8 +914,16 @@ class FiroWallet extends CoinServiceAPI
|
|||
type: isar_models.TransactionType.outgoing,
|
||||
subType: isar_models.TransactionSubType.none,
|
||||
// precision may be lost here hence the following amountString
|
||||
amount: (txData["recipientAmt"] as Amount).raw.toInt(),
|
||||
amountString: (txData["recipientAmt"] as Amount).toJsonString(),
|
||||
amount: Amount(
|
||||
rawValue: BigInt.from(txData["recipientAmt"] as int),
|
||||
fractionDigits: coin.decimals)
|
||||
.raw
|
||||
.toInt(),
|
||||
amountString: Amount(
|
||||
rawValue: BigInt.from(txData["recipientAmt"] as int),
|
||||
fractionDigits: coin.decimals)
|
||||
.raw
|
||||
.toString(),
|
||||
fee: txData["fee"] as int,
|
||||
height: null,
|
||||
isCancelled: false,
|
||||
|
|
Loading…
Reference in a new issue