diff --git a/bitcoin/src/blockdata/constants.rs b/bitcoin/src/blockdata/constants.rs index d716a88f..13b2bf5d 100644 --- a/bitcoin/src/blockdata/constants.rs +++ b/bitcoin/src/blockdata/constants.rs @@ -54,9 +54,9 @@ pub const PUBKEY_ADDRESS_PREFIX_TEST: u8 = 15; // 0xf (defichain testnet, devnet pub const SCRIPT_ADDRESS_PREFIX_TEST: u8 = 128; // 0x80 (defichain testnet, devnet changi) /// Regtest pubkey address prefix. -pub const PUBKEY_ADDRESS_PREFIX_REGTEST: u8 = 111; // 0x6f (defichain regtest) +pub const PUBKEY_ADDRESS_PREFIX_REGTEST: u8 = 15; // 0x6f (defichain regtest) /// Regtest script address prefix. -pub const SCRIPT_ADDRESS_PREFIX_REGTEST: u8 = 196; // 0xc4 (defichain regtest) +pub const SCRIPT_ADDRESS_PREFIX_REGTEST: u8 = 128; // 0xc4 (defichain regtest) /// The maximum allowed script size. pub const MAX_SCRIPT_ELEMENT_SIZE: usize = 520;