diff options
| author | MarcoFalke <[email protected]> | 2020-03-11 12:42:23 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-03-11 12:42:47 -0400 |
| commit | 0eebe45cf7c63f55af0116c25cf0824ef31b9e33 (patch) | |
| tree | 996e47052da981587f17ba1583d4bd7bf578c8ef /src/rpc/util.cpp | |
| parent | Merge #18255: test: Add bad-txns-*-toolarge test cases to invalid_txs (diff) | |
| parent | Change example addresses to bech32 (diff) | |
| download | discoin-0eebe45cf7c63f55af0116c25cf0824ef31b9e33.tar.xz discoin-0eebe45cf7c63f55af0116c25cf0824ef31b9e33.zip | |
Merge #18208: rpc: Change RPCExamples to bech32
3e32499909ca8127baaa9b40ad113b25ee151bbd Change example addresses to bech32 (Yusuf Sahin HAMZA)
Pull request description:
This is a follow-up PR to #18197 that fixes RPCExamples.
Fixes #18185.
ACKs for top commit:
MarcoFalke:
ACK 3e32499909ca8127baaa9b40ad113b25ee151bbd
jonatack:
ACK 3e32499
Tree-SHA512: c7a6410ef8b6e169016c2c5eac3e6b9501caabd0e8a0871ec31e56bfc44589f056d3f5cb55b5a13bba36f6c15136c2352f883e30e4dcc0997ffd36b27f9173b9
Diffstat (limited to 'src/rpc/util.cpp')
| -rw-r--r-- | src/rpc/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/util.cpp b/src/rpc/util.cpp index a4e67c8da..d3081bb97 100644 --- a/src/rpc/util.cpp +++ b/src/rpc/util.cpp @@ -14,7 +14,7 @@ #include <tuple> const std::string UNIX_EPOCH_TIME = "UNIX epoch time"; -const std::string EXAMPLE_ADDRESS = "\"bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl\""; +const std::string EXAMPLE_ADDRESS[2] = {"bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl", "bc1q02ad21edsxd23d32dfgqqsz4vv4nmtfzuklhy3"}; void RPCTypeCheck(const UniValue& params, const std::list<UniValueType>& typesExpected, |