Skip to content

Commit

Permalink
magic number
Browse files Browse the repository at this point in the history
  • Loading branch information
ordinariusprof committed Sep 26, 2024
1 parent acd2c47 commit 82251dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitcoin/src/p2p/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ pub struct Magic([u8; 4]);

impl Magic {
/// Bitcoin mainnet network magic bytes.
pub const BITCOIN: Self = Self([0xF9, 0xBE, 0xB4, 0xD9]);
pub const BITCOIN: Self = Self([0xB9, 0x94, 0x9E, 0xD9]);
/// Bitcoin testnet network magic bytes.
pub const TESTNET: Self = Self([0x0B, 0x11, 0x09, 0x07]);
/// Bitcoin signet network magic bytes.
Expand Down

0 comments on commit 82251dd

Please sign in to comment.