We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd1546 commit 1867dcfCopy full SHA for 1867dcf
src/primitives/hrp.rs
@@ -211,7 +211,7 @@ impl Hrp {
211
212
/// Returns `true` if this hrpstring is valid on the Bitcoin regtest network i.e., HRP is "bcrt".
213
#[inline]
214
- pub fn is_valid_on_regtest(&self) -> bool { *self == self::BC }
+ pub fn is_valid_on_regtest(&self) -> bool { *self == self::BCRT }
215
}
216
217
/// Displays the human-readable part.
0 commit comments