diff --git a/core/src/test/java/com/google/bitcoin/core/TestUtils.java b/core/src/test/java/com/google/bitcoin/core/TestUtils.java index ebedec6d4..0bd35edc0 100644 --- a/core/src/test/java/com/google/bitcoin/core/TestUtils.java +++ b/core/src/test/java/com/google/bitcoin/core/TestUtils.java @@ -98,7 +98,7 @@ public class TestUtils { /** * Roundtrip a transaction so that it appears as if it has just come from the wire */ - private static Transaction roundTripTransaction(NetworkParameters params, Transaction tx) throws IOException, ProtocolException { + public static Transaction roundTripTransaction(NetworkParameters params, Transaction tx) throws IOException, ProtocolException { BitcoinSerializer bs = new BitcoinSerializer(params, true); ByteArrayOutputStream bos = new ByteArrayOutputStream(); bs.serialize(tx, bos);