do not update peer node address on dispute opened

This commit is contained in:
woodser 2023-11-01 11:11:14 -04:00
parent 5f0cce492e
commit 2839f33696

View file

@ -506,10 +506,6 @@ public abstract class DisputeManager<T extends DisputeList<Dispute>> extends Sup
if (message.getUpdatedMultisigHex() != null) sender.setUpdatedMultisigHex(message.getUpdatedMultisigHex()); if (message.getUpdatedMultisigHex() != null) sender.setUpdatedMultisigHex(message.getUpdatedMultisigHex());
trade.importMultisigHex(); trade.importMultisigHex();
// update peer node address
// TODO: tests can reuse the same addresses so nullify equal peer
sender.setNodeAddress(message.getSenderNodeAddress());
// add chat message with price info // add chat message with price info
if (trade instanceof ArbitratorTrade) addPriceInfoMessage(dispute, 0); if (trade instanceof ArbitratorTrade) addPriceInfoMessage(dispute, 0);