mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
fix issue when displaying tx with new wallet
This commit is contained in:
parent
f0a813d031
commit
269fd7f0da
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ public class TransactionDiagram extends GridPane {
|
||||||
|
|
||||||
private Wallet getToWallet(Payment payment) {
|
private Wallet getToWallet(Payment payment) {
|
||||||
for(Wallet openWallet : AppServices.get().getOpenWallets().keySet()) {
|
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;
|
return openWallet;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue