From 9be8be588fa7620324f791ce9afbd009a83b3bd1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 15 Nov 2016 20:02:18 -0300 Subject: [PATCH] test --- src/wallet/rpcwallet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 5c54b6f06..a6a8392a4 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -73,6 +73,7 @@ void EnsureWalletIsUnlocked() } uint64_t komodo_accrued_interest(int32_t *txheightp,uint32_t *locktimep,uint256 hash,int32_t n,int32_t checkheight,uint64_t checkvalue); +uint64_t komodo_interest(int32_t txheight,uint64_t nValue,uint32_t nLockTime,uint32_t tiptime); void WalletTxToJSON(const CWalletTx& wtx, Object& entry) { @@ -90,7 +91,7 @@ void WalletTxToJSON(const CWalletTx& wtx, Object& entry) entry.push_back(Pair("txid", hash.GetHex())); n = wtx.vout.size(); for (i=0; inHeight,wtx.vout[i].nValue,wtx.nLockTime,mapBlockIndex[wtx.hashBlock]->nTime); entry.push_back(Pair("interest", interest)); Array conflicts;