Make sure that handlers always return Json::objectValue.

This commit is contained in:
Tom Ritchford
2014-12-01 15:26:59 -05:00
parent b0d47ebcc6
commit 86df482842
22 changed files with 43 additions and 32 deletions

View File

@@ -31,7 +31,7 @@ Json::Value doUnlLoad (RPC::Context& context)
return rpcError (rpcLOAD_FAILED);
}
return "loading";
return RPC::makeObjectValue ("loading");
}
} // ripple