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)