Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 0a8deae

Browse files
committed
Remove mention of RpcApi
1 parent 1a3f679 commit 0a8deae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

regtest/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ for bitcoin core 25.1, starting a regtest node is as simple as that:
1313
// the download feature is enabled whenever a specific version is enabled, for example `25_1` or `24_0_1`
1414
#[cfg(feature = "download")]
1515
{
16-
use bitcoincore_rpc::RpcApi;
1716
let bitcoind = bitcoind::BitcoinD::from_downloaded().unwrap();
1817
assert_eq!(0, bitcoind.client.get_blockchain_info().unwrap().blocks);
1918
}
@@ -29,7 +28,6 @@ When you don't use the auto-download feature you have the following options:
2928
* provide the `bitcoind` executable via the `BITCOIND_EXE` env var
3029

3130
```rust
32-
use bitcoincore_rpc::RpcApi;
3331
if let Ok(exe_path) = bitcoind::exe_path() {
3432
let bitcoind = bitcoind::BitcoinD::new(exe_path).unwrap();
3533
assert_eq!(0, bitcoind.client.get_blockchain_info().unwrap().blocks);

0 commit comments

Comments
 (0)