Skip to content

Commit c899274

Browse files
committed
Update README
1 parent cfccbd5 commit c899274

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ firstly {
3737
print(coinbase.first!.txid)
3838
// "5b824f055bc4ea8763a817bd951c53f38f81d3c4f2066c6eee79acbad2819db7"
3939
}.catch { err in
40-
debugPrint(err)
40+
print(err)
4141
}
4242
```
4343

4444
### Configuration
45-
The preferred configuration method is to set `CORERPC_USER` and `CORERPC_PASS` environment variables.
45+
The preferred configuration method is to set `CORERPC_USER` and `CORERPC_PASS` environment variables.
46+
4647
If found, they will be inserted into the given URL.
4748

4849
It is also possible to pass a fully formed URL, such as `http://username:password@localhost:8332`.
@@ -86,9 +87,9 @@ firstly {
8687
}.then { hash in
8788
rpc.getVerboseBlock(hash: hash)
8889
}.done { block in
89-
debugPrint("Tx count: \(block.tx.count)")
90+
print("Tx count: \(block.tx.count)")
9091
}.catch { error in
91-
debugPrint(error)
92+
print(error)
9293
}
9394
```
9495

0 commit comments

Comments
 (0)