mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 05:27:17 +00:00
Fixed V2 server deserialisation from StoredServerChannel
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user