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
log.warn("We received a NACK for our PaymentReceivedMessage to the buyer for {} {}: {}", trade.getClass().getSimpleName(), trade.getId(), ackMessage.getErrorMessage());
865
+
buyerNackedPaymentReceivedMessage = true;
866
+
867
+
// unless nacked, remove arbitrator's multisig state which can be stale
868
+
if (!arbitratorNackedPaymentReceivedMessage) {
869
+
log.warn("Resetting arbitrator's multisig state after arbitrator NACKed PaymentReceivedMessage for {} {}", trade.getClass().getSimpleName(), trade.getId());
// nack includes updated multisig hex since v1.1.1
866
874
if (ackMessage.getUpdatedMultisigHex() != null) {
@@ -881,6 +889,13 @@ else if (peer == trade.getArbitrator()) {
881
889
// handle nack
882
890
if (!ackMessage.isSuccess()) {
883
891
log.warn("We received a NACK for our PaymentReceivedMessage to the arbitrator for {} {}: {}", trade.getClass().getSimpleName(), trade.getId(), ackMessage.getErrorMessage());
892
+
arbitratorNackedPaymentReceivedMessage = true;
893
+
894
+
// unless nacked, remove buyer's multisig state which can be stale
895
+
if (!buyerNackedPaymentReceivedMessage) {
896
+
log.warn("Resetting buyer's multisig state after arbitrator NACKed PaymentReceivedMessage for {} {}", trade.getClass().getSimpleName(), trade.getId());
897
+
trade.getBuyer().setUpdatedMultisigHex(null);
898
+
}
884
899
885
900
// nack includes updated multisig hex since v1.1.1
0 commit comments