Return correct field "supports without claims"
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
This commit is contained in:
parent
3ca72b18cc
commit
a54f2f4d48
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue