This commit is contained in:
jl777
2019-01-12 08:59:23 -11:00
parent f6af25e545
commit fefe5dbd24
2 changed files with 1 additions and 2 deletions

View File

@@ -5534,7 +5534,7 @@ UniValue tokenaddress(const UniValue& params, bool fHelp)
UniValue marmara_poolpayout(const UniValue& params, bool fHelp)
{
int32_t firstheight; double perc; char *jsonstr;
if ( fHelp || params.size() < 3 )
if ( fHelp || params.size() != 3 )
{
// marmarapoolpayout "0.5" 2 '[["024131032ed90941e714db8e6dd176fe5a86c9d873d279edecf005c06f773da686",1000],["02ebc786cb83de8dc3922ab83c21f3f8a2f3216940c3bf9da43ce39e2a3a882c92",100]]';
throw runtime_error("marmara_poolpayout perc firstheight \"[[\\\"pubkey\\\":shares], ...]\"\n");