diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-05-10 13:35:44 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-06-04 09:16:05 +0200 |
commit | 53b4671a9de75f7c8e2903d510cf88867c3f6b97 (patch) | |
tree | 9bb3808d270e58f7c7a0a546110f5e9dbd941fc7 /src/rpcmisc.cpp | |
parent | 15982a8b69ec6ab3c3a6bf71fc6a9b681d3ff541 (diff) |
extend conversion to UniValue
Diffstat (limited to 'src/rpcmisc.cpp')
-rw-r--r-- | src/rpcmisc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcmisc.cpp b/src/rpcmisc.cpp index f7bd3e0d5a..b06408f21e 100644 --- a/src/rpcmisc.cpp +++ b/src/rpcmisc.cpp @@ -389,8 +389,8 @@ Value setmocktime(const Array& params, bool fHelp) LOCK(cs_main); - RPCTypeCheck(params, boost::assign::list_of(int_type)); + RPCTypeCheck(params, boost::assign::list_of(UniValue::VNUM)); SetMockTime(params[0].get_int64()); - return Value::null; + return NullUniValue; } |