From 8859397696a2ef7a5a8f35f977667995b41b96b9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 25 Oct 2016 12:24:14 -0300 Subject: [PATCH] test --- src/komodo.h | 3 ++- src/komodo_interest.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index a35b39af4..89dec6713 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -38,8 +38,9 @@ pthread_mutex_t komodo_mutex; #include "komodo_pax.h" #endif #include "komodo_notary.h" +#include "komodo_gateway.h" -int32_t komodo_stateupdate(int32_t height,uint8_t notarypubs[][33],uint8_t numnotaries,uint8_t notaryid,uint256 txhash,uint64_t voutmask,uint8_t numvouts,uint32_t *pvals,uint8_t numpvals) +void komodo_stateupdate(int32_t height,uint8_t notarypubs[][33],uint8_t numnotaries,uint8_t notaryid,uint256 txhash,uint64_t voutmask,uint8_t numvouts,uint32_t *pvals,uint8_t numpvals) { static FILE *fp; static int32_t errs; char fname[512]; int32_t ht,func; uint8_t num,pubkeys[64][33]; #ifdef WIN32 diff --git a/src/komodo_interest.h b/src/komodo_interest.h index 12aa420b5..b71178d15 100644 --- a/src/komodo_interest.h +++ b/src/komodo_interest.h @@ -46,6 +46,7 @@ uint64_t komodo_accrued_interest(int32_t height,int64_t paidinterest) } } } + return(0); } uint64_t komodo_moneysupply(int32_t height)