From 342e17b08fb48ca78632208d3e8a76018a204a7e Mon Sep 17 00:00:00 2001 From: HashEngineering Date: Sun, 30 Jun 2024 21:34:04 -0700 Subject: [PATCH] tests: fix identity id tests with DPP 1.0 --- .../java/org/bitcoinj/evolution/AssetLockTransactionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/org/bitcoinj/evolution/AssetLockTransactionTest.java b/core/src/test/java/org/bitcoinj/evolution/AssetLockTransactionTest.java index 8b660075c..5200ee140 100644 --- a/core/src/test/java/org/bitcoinj/evolution/AssetLockTransactionTest.java +++ b/core/src/test/java/org/bitcoinj/evolution/AssetLockTransactionTest.java @@ -55,9 +55,9 @@ public void testIdentityAssetLockTransactionUniqueId() { AssetLockTransaction fundingTransaction = new AssetLockTransaction(PARAMS, transactionData); String lockedOutpoint = fundingTransaction.getLockedOutpoint().toStringBase64(); - assertEquals("Locked outpoint is incorrect", "nQxmWXkiwGZ6VzBk72ukhBKuTZH/AZgfx8pAvPbVbPIAAAAA", lockedOutpoint); + assertEquals("Locked outpoint is incorrect", "8mzV9rxAyscfmAH/kU2uEoSka+9kMFd6ZsAieVlmDJ0AAAAA", lockedOutpoint); String identityIdentifier = fundingTransaction.getIdentityId().toStringBase58(); - assertEquals("Identity Identifier is incorrect", "451RMdWKovJWbfx5Q84oihL3n2J1N4p5E8SxCarT1ijF", identityIdentifier); + assertEquals("Identity Identifier is incorrect", "JEHdJRNQEcDeKDjNSNhYKp7zzL7dQmcAJxuoDEbHRjCH", identityIdentifier); ECKey privateKey = ECKey.fromPrivate(Utils.HEX.decode("8cfb151eceb7540e42da177cfbe3a1580e97edf96a699e40d100cea669abb002"),true); assertArrayEquals("The private key doesn't match the funding transaction", privateKey.getPubKeyHash(), fundingTransaction.getAssetLockPublicKeyId().getBytes());