Skip to content

Commit 4c65117

Browse files
committed
Change bitcoind_rpc_methods to use .0 on double args.
1 parent 0ac8d39 commit 4c65117

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/bitcoin/node/interfaces/bitcoind_rpc.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ struct bitcoind_rpc_methods
3232
{
3333
/// Blockchain methods.
3434
method<"getbestblockhash">{},
35-
method<"getblock", string_t, optional<1>>{ "blockhash", "verbosity" },
35+
method<"getblock", string_t, optional<1.0>>{ "blockhash", "verbosity" },
3636
method<"getblockchaininfo">{},
3737
method<"getblockcount">{},
3838
method<"getblockfilter", string_t, optional<"basic"_t>>{ "blockhash", "filtertype" },
3939
method<"getblockhash", number_t>{ "height" },
4040
method<"getblockheader", string_t, optional<true>>{ "blockhash", "verbose" },
4141
method<"getblockstats", string_t, optional<empty::array>>{ "hash_or_height", "stats" },
42-
method<"getchaintxstats", optional<-1>, optional<""_t>>{ "nblocks", "blockhash" },
42+
method<"getchaintxstats", optional<-1.0>, optional<""_t>>{ "nblocks", "blockhash" },
4343
method<"getchainwork">{},
4444
method<"gettxout", string_t, number_t, optional<true>>{ "txid", "n", "include_mempool" },
4545
method<"gettxoutsetinfo">{},
4646
method<"pruneblockchain", number_t>{ "height" },
4747
method<"savemempool">{},
4848
method<"scantxoutset", string_t, optional<empty::array>>{ "action", "scanobjects" },
49-
method<"verifychain", optional<4>, optional<288>>{ "checklevel", "nblocks" },
49+
method<"verifychain", optional<4.0>, optional<288.0>>{ "checklevel", "nblocks" },
5050
method<"verifytxoutset", string_t>{ "input_verify_flag" },
5151

5252
/////// Control methods.

0 commit comments

Comments
 (0)