Skip to content

Commit

Permalink
fix issue when displaying tx with new wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
craigraw committed Oct 29, 2021
1 parent f0a813d commit 269fd7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ private int getOutputIndex(Address address) {

private Wallet getToWallet(Payment payment) {
for(Wallet openWallet : AppServices.get().getOpenWallets().keySet()) {
if(openWallet != walletTx.getWallet() && openWallet.isWalletAddress(payment.getAddress())) {
if(openWallet != walletTx.getWallet() && openWallet.isValid() && openWallet.isWalletAddress(payment.getAddress())) {
return openWallet;
}
}
Expand Down

0 comments on commit 269fd7f

Please sign in to comment.