mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
Don't force getblocktemplate to have a parameter.
This looks like it was just a munged merge when ultraprune was committed.
This commit is contained in:
parent
55913c9971
commit
3beac9837f
@ -198,7 +198,7 @@ Value getwork(const Array& params, bool fHelp)
|
||||
|
||||
Value getblocktemplate(const Array& params, bool fHelp)
|
||||
{
|
||||
if (fHelp || params.size() != 1)
|
||||
if (fHelp || params.size() > 1)
|
||||
throw runtime_error(
|
||||
"getblocktemplate [params]\n"
|
||||
"Returns data needed to construct a block to work on:\n"
|
||||
|
Loading…
Reference in New Issue
Block a user