diff --git a/core/src/main/java/com/google/bitcoin/store/WalletProtobufSerializer.java b/core/src/main/java/com/google/bitcoin/store/WalletProtobufSerializer.java index 714532d7..461c4554 100644 --- a/core/src/main/java/com/google/bitcoin/store/WalletProtobufSerializer.java +++ b/core/src/main/java/com/google/bitcoin/store/WalletProtobufSerializer.java @@ -457,7 +457,7 @@ public class WalletProtobufSerializer { } if (txProto.hasLockTime()) { - tx.setLockTime(txProto.getLockTime()); + tx.setLockTime(0xffffffffL & txProto.getLockTime()); } // Transaction should now be complete.