Set height to -1 for unconfirmed keva_put.

This commit is contained in:
Just Wonder 2020-06-11 22:59:53 -07:00
parent 4bbf37c2dc
commit 5e412845ec

View File

@ -115,6 +115,7 @@ UniValue keva_get(const JSONRPCRequest& request)
UniValue obj(UniValue::VOBJ); UniValue obj(UniValue::VOBJ);
obj.pushKV("key", keyStr); obj.pushKV("key", keyStr);
obj.pushKV("value", ValtypeToString(val)); obj.pushKV("value", ValtypeToString(val));
obj.pushKV("height", -1);
return obj; return obj;
} }
} }