mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-22 15:19:11 +00:00
missed firo amount
This commit is contained in:
parent
347c69339c
commit
e72f2018d0
1 changed files with 8 additions and 5 deletions
|
@ -704,6 +704,12 @@ Future<dynamic> isolateCreateJoinSplitTransaction(
|
||||||
final txId = extTx.getId();
|
final txId = extTx.getId();
|
||||||
Logging.instance.log("txid $txId", level: LogLevel.Info);
|
Logging.instance.log("txid $txId", level: LogLevel.Info);
|
||||||
Logging.instance.log("txHex: $txHex", level: LogLevel.Info);
|
Logging.instance.log("txHex: $txHex", level: LogLevel.Info);
|
||||||
|
|
||||||
|
final amountAmount = Amount(
|
||||||
|
rawValue: BigInt.from(amount),
|
||||||
|
fractionDigits: coin.decimals,
|
||||||
|
);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"txid": txId,
|
"txid": txId,
|
||||||
"txHex": txHex,
|
"txHex": txHex,
|
||||||
|
@ -720,11 +726,8 @@ Future<dynamic> isolateCreateJoinSplitTransaction(
|
||||||
"height": locktime,
|
"height": locktime,
|
||||||
"txType": "Sent",
|
"txType": "Sent",
|
||||||
"confirmed_status": false,
|
"confirmed_status": false,
|
||||||
"amount": Amount(
|
"amount": amountAmount.decimal.toDouble(),
|
||||||
rawValue: BigInt.from(amount),
|
"recipientAmt": amountAmount,
|
||||||
fractionDigits: coin.decimals,
|
|
||||||
).decimal.toDouble(),
|
|
||||||
"recipientAmt": amount,
|
|
||||||
"address": address,
|
"address": address,
|
||||||
"timestamp": DateTime.now().millisecondsSinceEpoch ~/ 1000,
|
"timestamp": DateTime.now().millisecondsSinceEpoch ~/ 1000,
|
||||||
"subType": "join",
|
"subType": "join",
|
||||||
|
|
Loading…
Reference in a new issue