Skip to content

Commit

Permalink
Update regtest block generation for v0.21.0
Browse files Browse the repository at this point in the history
`generate` is not supported anymore but must be `-generate`, see bitcoin/bitcoin@92d94ff
  • Loading branch information
schmijos authored Jan 24, 2021
1 parent 379e18a commit 166fb68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/transactions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Re-running the `“listunspent” RPC <../reference/rpc/listunspent.html>`__ wit

::

> bitcoin-cli -regtest generate 1
> bitcoin-cli -regtest -generate 1

> unset NEW_ADDRESS

Expand Down Expand Up @@ -303,7 +303,7 @@ Send the signed transaction to the connected node using the `“sendrawtransacti

::

> bitcoin-cli -regtest generate 1
> bitcoin-cli -regtest -generate 1

> unset UTXO_TXID UTXO_VOUT NEW_ADDRESS RAW_TX SIGNED_RAW_TX

Expand Down

0 comments on commit 166fb68

Please sign in to comment.