Return correct field "supports without claims"

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
This commit is contained in:
Anthony Fieroni 2018-12-12 08:49:17 +02:00 committed by Brannon King
parent 3ca72b18cc
commit a54f2f4d48

View file

@ -372,7 +372,7 @@ UniValue getclaimsforname(const UniValue& params, bool fHelp)
" ]\n" " ]\n"
" }\n" " }\n"
" ],\n" " ],\n"
" \"unmatched supports\": [ (array of object) supports that did not match a claim for this name\n" " \"supports without claims\": [ (array of object) supports that did not match a claim for this name\n"
" {\n" " {\n"
" \"txid\" (string) the txid of the support\n" " \"txid\" (string) the txid of the support\n"
" \"n\" (numeric) the index of the support in the transaction's list of outputs\n" " \"n\" (numeric) the index of the support in the transaction's list of outputs\n"
@ -424,7 +424,7 @@ UniValue getclaimsforname(const UniValue& params, bool fHelp)
} }
ret.push_back(Pair("claims", claimObjs)); ret.push_back(Pair("claims", claimObjs));
ret.push_back(Pair("unmatched supports", unmatchedSupports)); ret.push_back(Pair("supports without claims", unmatchedSupports));
return ret; return ret;
} }