mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +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 minCoinbaseConfirms,
|
||||
}) {
|
||||
String prettyConfirms() =>
|
||||
"(${getConfirmations(currentChainHeight)}/$minConfirms)";
|
||||
String prettyConfirms() => "("
|
||||
"${getConfirmations(currentChainHeight)}"
|
||||
"/"
|
||||
"${(isCoinbase() ? minCoinbaseConfirms : minConfirms)}"
|
||||
")";
|
||||
|
||||
if (subType == TransactionSubType.cashFusion ||
|
||||
subType == TransactionSubType.mint ||
|
||||
|
|
Loading…
Reference in a new issue