diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-09-18 13:31:59 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-09-23 08:00:14 -0400 |
commit | faec689bed7a5b66e2a7675853d10205b933cec8 (patch) | |
tree | b21dc3595c97b2c8018a801667701ce16ab63780 /src/rpc | |
parent | faaa1f01daba94b021ca77515266a16d27f0364e (diff) |
txmempool: Make entry time type-safe (std::chrono)
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 9513c2b9ac..19826af308 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -418,7 +418,7 @@ static void entryToJSON(const CTxMemPool& pool, UniValue& info, const CTxMemPool info.pushKV("weight", (int)e.GetTxWeight()); info.pushKV("fee", ValueFromAmount(e.GetFee())); info.pushKV("modifiedfee", ValueFromAmount(e.GetModifiedFee())); - info.pushKV("time", e.GetTime()); + info.pushKV("time", count_seconds(e.GetTime())); info.pushKV("height", (int)e.GetHeight()); info.pushKV("descendantcount", e.GetCountWithDescendants()); info.pushKV("descendantsize", e.GetSizeWithDescendants()); |