Merge latest monero dart changes [skip ci]

This commit is contained in:
OmarHatem 2024-06-28 16:20:03 +03:00
parent b44cd1bda0
commit e978f9d9ba
2 changed files with 3 additions and 2 deletions

View file

@ -660,10 +660,10 @@ packages:
dependency: "direct main"
description:
name: unorm_dart
sha256: "5b35bff83fce4d76467641438f9e867dc9bcfdb8c1694854f230579d68cd8f4b"
sha256: "23d8bf65605401a6a32cff99435fed66ef3dab3ddcad3454059165df46496a3b"
url: "https://pub.dev"
source: hosted
version: "0.2.0"
version: "0.3.0"
vector_math:
dependency: transitive
description:

View file

@ -480,6 +480,7 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance,
monero.CoinsInfo_frozen(coin),
monero.CoinsInfo_unlocked(coin),
);
// TODO: double-check the logic here
if (unspent.hash.isNotEmpty) {
unspent.isChange = transaction_history.getTransaction(unspent.hash).isSpend == true;
}