rawconfirmations

This commit is contained in:
jl777
2018-10-14 12:39:06 -11:00
parent 20523c958c
commit a079cdbc6c
3 changed files with 4 additions and 4 deletions

View File

@@ -2735,7 +2735,7 @@ UniValue listunspent(const UniValue& params, bool fHelp)
}
else if ( chainActive.LastTip() != 0 )
txheight = (chainActive.LastTip()->nHeight - out.nDepth - 1);
entry.push_back(Pair("origconfirmations",out.nDepth));
entry.push_back(Pair("rawconfirmations",out.nDepth));
entry.push_back(Pair("confirmations",komodo_dpowconfs(txheight,out.nDepth)));
entry.push_back(Pair("spendable", out.fSpendable));
results.push_back(entry);