From 3513c98d8d5b9dd83e55ff3fd5ad77e471fc1f9f Mon Sep 17 00:00:00 2001 From: julia-zack Date: Tue, 19 Nov 2024 13:58:52 -0300 Subject: [PATCH 1/4] Modify public method to remove signatures for just returning the hash without them. --- .../java/co/rsk/peg/bitcoin/BitcoinUtils.java | 14 +++++++- .../co/rsk/peg/bitcoin/BitcoinUtilsTest.java | 33 ++++++++++--------- 2 files changed, 30 insertions(+), 17 deletions(-) diff --git a/rskj-core/src/main/java/co/rsk/peg/bitcoin/BitcoinUtils.java b/rskj-core/src/main/java/co/rsk/peg/bitcoin/BitcoinUtils.java index aee24d3fdb..747625b72e 100644 --- a/rskj-core/src/main/java/co/rsk/peg/bitcoin/BitcoinUtils.java +++ b/rskj-core/src/main/java/co/rsk/peg/bitcoin/BitcoinUtils.java @@ -57,7 +57,19 @@ public static Optional