Fix mention of getblockbynumber in help.
[novacoin.git] / src / rpcblockchain.cpp
index 3414a00..ba4ad5c 100644 (file)
@@ -252,7 +252,7 @@ Value getblockbynumber(const Array& params, bool fHelp)
 {
     if (fHelp || params.size() < 1 || params.size() > 2)
         throw runtime_error(
-            "getblock <number> [txinfo]\n"
+            "getblockbynumber <number> [txinfo]\n"
             "txinfo optional to print more detailed tx info\n"
             "Returns details of a block with given block-number.");