diff options
| author | Pieter Wuille <[email protected]> | 2012-12-19 12:23:01 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-12-19 12:23:29 +0100 |
| commit | 5dfbd4ff68c68c0565311576cf7e04a3d5c8f8e5 (patch) | |
| tree | badca5fe9d004979fcdd65be169e93b748b5463d /src/bitcoinrpc.cpp | |
| parent | Merge pull request #2112 from fanquake/typos (diff) | |
| download | discoin-5dfbd4ff68c68c0565311576cf7e04a3d5c8f8e5.tar.xz discoin-5dfbd4ff68c68c0565311576cf7e04a3d5c8f8e5.zip | |
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; } |