mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
fix: incorrect balance in send card (#2158)
* fix: incorrect balance in send card * fix: ensure that all unique Unspent are used in calculation
This commit is contained in:
parent
e842e818d9
commit
fd16a099ea
2 changed files with 8 additions and 5 deletions
|
@ -21,4 +21,9 @@ class Unspent with UnspentComparable {
|
|||
|
||||
bool get isP2wpkh =>
|
||||
address.startsWith('bc') || address.startsWith('tb') || address.startsWith('ltc');
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'Unspent(address: $address, hash: $hash, value: $value, vout: $vout, keyImage: $keyImage, isSending: $isSending, isFrozen: $isFrozen, isChange: $isChange, note: $note)';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue