chore: Feature cleanup

This commit is contained in:
Blazebrain 2024-05-20 15:40:55 +01:00
parent ef52b7093b
commit ef04ec518b

View file

@ -25,9 +25,6 @@ class ElectrumBalance extends Balance {
@override
String get formattedAvailableBalance {
print('Confirmed: ${bitcoinAmountToString(amount: confirmed)}');
print('Unconfirmed: ${bitcoinAmountToString(amount: unconfirmed)}');
print('Frozen: ${bitcoinAmountToString(amount: frozen)}');
bool isOutgoingTx = unconfirmed.isNegative;
final availableBalance = isOutgoingTx ? (confirmed + unconfirmed) : (confirmed);
return bitcoinAmountToString(amount: availableBalance);
@ -50,8 +47,6 @@ class ElectrumBalance extends Balance {
: (confirmed + (unconfirmed.abs()) + frozen);
final result = bitcoinAmountToString(amount: fullBalance);
print('Full Balance: $result');
return result;
}