diff options
| author | Gavin Andresen <[email protected]> | 2012-12-21 06:30:53 -0800 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-12-21 06:30:53 -0800 |
| commit | 23826f1b7fd070894cfabdbf49b0a3840e6f33a6 (patch) | |
| tree | e984dfc87ac55a8ba4a59697abafbdeb0809ffa2 /src/bitcoinrpc.cpp | |
| parent | Merge pull request #2113 from sipa/hashh (diff) | |
| parent | Convert fRescan argument to importprivkey to bool (diff) | |
| download | discoin-23826f1b7fd070894cfabdbf49b0a3840e6f33a6.tar.xz discoin-23826f1b7fd070894cfabdbf49b0a3840e6f33a6.zip | |
Merge pull request #2116 from sipa/importrescanbool
Convert fRescan argument to importprivkey to bool
Diffstat (limited to 'src/bitcoinrpc.cpp')
| -rw-r--r-- | src/bitcoinrpc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index bfb696da3..41850d8bb 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -1219,6 +1219,7 @@ Array RPCConvertValues(const std::string &strMethod, const std::vector<std::stri if (strMethod == "gettxout" && n > 2) ConvertTo<bool>(params[2]); if (strMethod == "lockunspent" && n > 0) ConvertTo<bool>(params[0]); if (strMethod == "lockunspent" && n > 1) ConvertTo<Array>(params[1]); + if (strMethod == "importprivkey" && n > 2) ConvertTo<bool>(params[2]); return params; } |