Handling forwarded ModifyTransactionRequest with ready
protocol shouldn't cause failure, so add no op case.
Change-Id: Id8d69b49171588323ccd947b53f16576f57cb156
Signed-off-by: Andrej Mak <andrej.mak@pantheon.tech>
case THREE_PHASE:
sendRequest(commitRequest(true), callback);
break;
case THREE_PHASE:
sendRequest(commitRequest(true), callback);
break;
+ case READY:
+ //no op
+ break;
default:
throw new IllegalArgumentException("Unhandled protocol " + maybeProto.get());
}
default:
throw new IllegalArgumentException("Unhandled protocol " + maybeProto.get());
}