Page MenuHomePhabricator

rpc: fix broken RPCExamples for waitforblock(height)
ClosedPublic

Authored by PiRK on Jan 12 2021, 16:09.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC466d6dbef804: rpc: fix broken RPCExamples for waitforblock(height)
Summary

Fixes the following RPCExamples:
-> ExampleCli waitforblock (removed comma between arguments)
-> ExampleCli waitforblockheight (removed comma between arguments)
-> ExampleRpc waitforblockheight (removed quotation marks around integer argument)

This is a backport of Core PR18398

Test Plan
ninja && src/bitcoind &
sleep 5
src/bitcoin-cli waitforblockheight 100 1000
src/bitcoin-cli waitforblock  "0000000000079f8ef3d2c688c244eb7a4570b24c9ed7b4a8c619eb02596f8862" 1000

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable