diff --git a/core/src/main/java/com/google/bitcoin/core/TransactionOutPoint.java b/core/src/main/java/com/google/bitcoin/core/TransactionOutPoint.java index a78224d0..8bd5e307 100644 --- a/core/src/main/java/com/google/bitcoin/core/TransactionOutPoint.java +++ b/core/src/main/java/com/google/bitcoin/core/TransactionOutPoint.java @@ -179,6 +179,13 @@ public class TransactionOutPoint extends ChildMessage implements Serializable { maybeParse(); return index; } + + /** + * @param index the index to set + */ + void setIndex(long index) { + this.index = index; + } /** * Ensure object is fully parsed before invoking java serialization. The backing byte array