Skip to content

Commit e010ae4

Browse files
committed
Don't require bitcoin core 25.0.0
1 parent d488ff6 commit e010ae4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/mockcore/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub fn builder() -> Builder {
6868
Builder {
6969
fail_lock_unspent: false,
7070
network: Network::Bitcoin,
71-
version: 250000,
71+
version: 240000,
7272
}
7373
}
7474

src/wallet.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ impl Wallet {
582582
}
583583

584584
pub(crate) fn check_version(client: Client) -> Result<Client> {
585-
const MIN_VERSION: usize = 250000;
585+
const MIN_VERSION: usize = 240000;
586586

587587
let bitcoin_version = client.version()?;
588588
if bitcoin_version < MIN_VERSION {

0 commit comments

Comments
 (0)