From 6b1a6300d266019713fb6c039f34710d0a0d8383 Mon Sep 17 00:00:00 2001 From: Viacheslav Zhygulin Date: Thu, 26 Sep 2024 14:39:25 +0100 Subject: [PATCH] add test for taproot address --- test/BitcoinUtils_Regtest.t.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/test/BitcoinUtils_Regtest.t.sol b/test/BitcoinUtils_Regtest.t.sol index d94ff4a..992cf91 100644 --- a/test/BitcoinUtils_Regtest.t.sol +++ b/test/BitcoinUtils_Regtest.t.sol @@ -26,6 +26,7 @@ contract BitcoinUtils_Regtest_Test is Test { function testBech32ValidAddress() public { assertTrue(utils.validateBitcoinAddress(network, "bcrt1qnd2xm45v0uy5nx3qzt28qrhq42w4udrms8sz52")); + assertTrue(utils.validateBitcoinAddress(network, "bcrt1pnmrmugapastum8ztvgwcn8hvq2avmcwh2j4ssru7rtyygkpqq98q4wyd6s")); } function testBech32ValidMainnetAddressIsNotValidForRegtest() public {