mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-15 09:24:01 +01: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:
@@ -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)';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user