cleanup error message when not in expected phase

This commit is contained in:
woodser 2025-11-21 08:18:32 -05:00
parent 73e7db58f0
commit f58bd060e9
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF

View file

@ -294,8 +294,6 @@ public class FluentProtocol {
return Result.VALID.info(info); return Result.VALID.info(info);
} else { } else {
String info = MessageFormat.format("We received a {0} but we are are not in the expected phase.\n" + String info = MessageFormat.format("We received a {0} but we are are not in the expected phase.\n" +
"This can be an expected case if we get a repeated PaymentSentMessage " +
"after we have already received one as the peer re-sends that message at each startup.\n" +
"Expected phases={1},\nTrade phase={2},\nTrade state= {3},\ntradeId={4}", "Expected phases={1},\nTrade phase={2},\nTrade state= {3},\ntradeId={4}",
trigger, trigger,
expectedPhases, expectedPhases,