mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 17:29:23 +00:00
ensure tx status label shows correct number of confirms if is coinbase
This commit is contained in:
parent
40b0f49f20
commit
9c9a9f8d3e
1 changed files with 5 additions and 2 deletions
|
@ -232,8 +232,11 @@ class TransactionV2 {
|
||||||
required int minConfirms,
|
required int minConfirms,
|
||||||
required int minCoinbaseConfirms,
|
required int minCoinbaseConfirms,
|
||||||
}) {
|
}) {
|
||||||
String prettyConfirms() =>
|
String prettyConfirms() => "("
|
||||||
"(${getConfirmations(currentChainHeight)}/$minConfirms)";
|
"${getConfirmations(currentChainHeight)}"
|
||||||
|
"/"
|
||||||
|
"${(isCoinbase() ? minCoinbaseConfirms : minConfirms)}"
|
||||||
|
")";
|
||||||
|
|
||||||
if (subType == TransactionSubType.cashFusion ||
|
if (subType == TransactionSubType.cashFusion ||
|
||||||
subType == TransactionSubType.mint ||
|
subType == TransactionSubType.mint ||
|
||||||
|
|
Loading…
Reference in a new issue