You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code passes tAddresses to lightwalletd, but does not check that the response from lightwalletd only contains addresses that were in tAddresses, which means any bugs in lightwalletd (or its backing node) would result in unexpected transparent addresses making their way into the wallet DB.
We should check that for each response, utxo.address exists in tAddresses. If we get a UTXO that doesn't match, we should log a warning containing the unexpected UTXO, and then skip it (not include it in the returned stream).
The text was updated successfully, but these errors were encountered:
zcash-android-wallet-sdk/lightwallet-client-lib/src/main/java/co/electriccoin/lightwallet/client/internal/LightWalletClientImpl.kt
Lines 150 to 181 in e37a35a
This code passes
tAddresses
tolightwalletd
, but does not check that the response fromlightwalletd
only contains addresses that were intAddresses
, which means any bugs inlightwalletd
(or its backing node) would result in unexpected transparent addresses making their way into the wallet DB.We should check that for each response,
utxo.address
exists intAddresses
. If we get a UTXO that doesn't match, we should log a warning containing the unexpected UTXO, and then skip it (not include it in the returned stream).The text was updated successfully, but these errors were encountered: