mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-31 06:55:59 +00:00
minor
This commit is contained in:
parent
154eee317b
commit
d040793dd5
1 changed files with 5 additions and 1 deletions
|
@ -37,7 +37,7 @@ class ElectrumBalance extends Balance {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get formattedAvailableBalance =>
|
String get formattedAvailableBalance =>
|
||||||
bitcoinAmountToString(amount: confirmed + secondConfirmed - frozen);
|
bitcoinAmountToString(amount: confirmed - frozen);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String get formattedAdditionalBalance => bitcoinAmountToString(amount: unconfirmed);
|
String get formattedAdditionalBalance => bitcoinAmountToString(amount: unconfirmed);
|
||||||
|
@ -54,6 +54,10 @@ class ElectrumBalance extends Balance {
|
||||||
@override
|
@override
|
||||||
String get formattedSecondAdditionalBalance => bitcoinAmountToString(amount: secondUnconfirmed);
|
String get formattedSecondAdditionalBalance => bitcoinAmountToString(amount: secondUnconfirmed);
|
||||||
|
|
||||||
|
@override
|
||||||
|
String get formattedFullAvailableBalance =>
|
||||||
|
bitcoinAmountToString(amount: confirmed + secondConfirmed - frozen);
|
||||||
|
|
||||||
String toJSON() => json.encode({
|
String toJSON() => json.encode({
|
||||||
'confirmed': confirmed,
|
'confirmed': confirmed,
|
||||||
'unconfirmed': unconfirmed,
|
'unconfirmed': unconfirmed,
|
||||||
|
|
Loading…
Reference in a new issue