Skip to content

Commit

Permalink
revert prefix regtest to testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Sep 16, 2024
1 parent 4e4b0ab commit fb116b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitcoin/src/blockdata/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fb116b1

Please sign in to comment.