Fixed V2 server deserialisation from StoredServerChannel

This commit is contained in:
Will Shackleton 2016-02-11 15:02:23 +00:00
parent f1b4db1540
commit 23c9f0d0e2

View file

@ -122,6 +122,7 @@ public abstract class PaymentChannelServerState {
this.serverKey = checkNotNull(storedServerChannel.myKey);
this.storedServerChannel = storedServerChannel;
this.bestValueToMe = checkNotNull(storedServerChannel.bestValueToMe);
this.minExpireTime = storedServerChannel.refundTransactionUnlockTimeSecs;
this.bestValueSignature = storedServerChannel.bestValueSignature;
checkArgument(bestValueToMe.equals(Coin.ZERO) || bestValueSignature != null);
storedServerChannel.state = this;