mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
btc all own addresses query fix
This commit is contained in:
parent
a236316291
commit
d0bb0183f3
1 changed files with 6 additions and 4 deletions
|
@ -1368,10 +1368,12 @@ class BitcoinWallet extends CoinServiceAPI
|
||||||
.getAddresses(walletId)
|
.getAddresses(walletId)
|
||||||
.filter()
|
.filter()
|
||||||
.not()
|
.not()
|
||||||
|
.group(
|
||||||
|
(q) => q
|
||||||
.typeEqualTo(isar_models.AddressType.nonWallet)
|
.typeEqualTo(isar_models.AddressType.nonWallet)
|
||||||
.and()
|
.or()
|
||||||
.not()
|
.subTypeEqualTo(isar_models.AddressSubType.nonWallet),
|
||||||
.subTypeEqualTo(isar_models.AddressSubType.nonWallet)
|
)
|
||||||
.findAll();
|
.findAll();
|
||||||
return allAddresses;
|
return allAddresses;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue