mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-13 16:48:08 +00:00
Set height to -1 for unconfirmed keva_put.
This commit is contained in:
parent
4bbf37c2dc
commit
5e412845ec
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user