Skip to content

Commit

Permalink
refactor(federate): use ECKey class to build pub key in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apancorb committed Nov 1, 2024
1 parent 3889525 commit d39960f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/co/rsk/federate/FederatorSupportTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class FederatorSupportTest {
private static final NetworkParameters NETWORK_PARAMETERS = BridgeMainNetConstants.getInstance().getBtcParams();
private static final List<BtcECKey> KEYS = BitcoinTestUtils.getBtcEcKeysFromSeeds(new String[]{"k1", "k2", "k3"}, true);
private static final Address DEFAULT_ADDRESS = BitcoinTestUtils.createP2SHMultisigAddress(NETWORK_PARAMETERS, KEYS);
private static final byte[] PUBLIC_KEY = Hex.decode("0497466f2b32bc3bb76d4741ae51cd1d8578b48d3f1e68da206d47321aec267ce78549b514e4453d74ef11b0cd5e4e4c364effddac8b51bcfc8de80682f952896f");
private static final byte[] PUBLIC_KEY = ECKey.fromPrivate(BigInteger.valueOf(100)).getPubKey();

private BridgeTransactionSender bridgeTransactionSender;
private FederatorSupport federatorSupport;
Expand Down

0 comments on commit d39960f

Please sign in to comment.