Skip to content

Commit c42fc5f

Browse files
committed
Update README
1 parent 996fe2a commit c42fc5f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Readme.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
Utility to run a regtest electrum wallet daemon process, useful in integration testing environment.
44

55
```rust
6-
let electrumd = electrumd::ElectrumD::new(electrumd::downloaded_exe_path().unwrap()).unwrap();
7-
assert_eq!(0, bitcoind.client.get_blockchain_info().unwrap().blocks);
6+
let electrum_wallet = electrumd::ElectrumD::new(electrumd::downloaded_exe_path().unwrap()).unwrap();
7+
8+
let addr = electrum_wallet.call("createnewaddress", &json!([]))
89
```
910

1011
Forked from [@RCasatta's `bitcoind`](https://github.com/RCasatta/bitcoind).

0 commit comments

Comments
 (0)