mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
show 0 fee for coinbase transactions
This commit is contained in:
parent
0ce0350039
commit
91de7ddbc0
1 changed files with 4 additions and 0 deletions
|
@ -129,6 +129,10 @@ class TransactionV2 {
|
||||||
return fee;
|
return fee;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isCoinbase()) {
|
||||||
|
return Amount.zeroWith(fractionDigits: fractionDigits);
|
||||||
|
}
|
||||||
|
|
||||||
final inSum =
|
final inSum =
|
||||||
inputs.map((e) => e.value).reduce((value, element) => value += element);
|
inputs.map((e) => e.value).reduce((value, element) => value += element);
|
||||||
final outSum = outputs
|
final outSum = outputs
|
||||||
|
|
Loading…
Reference in a new issue