diff --git a/src/cJSON.h b/src/cJSON.h index 6d85f6fa7..d3076aa53 100755 --- a/src/cJSON.h +++ b/src/cJSON.h @@ -33,7 +33,6 @@ //#include "../crypto777/OS_portable.h" -#define SATOSHIDEN ((uint64_t)100000000L) #define MAX_JSON_FIELD 4096 // on the big side #ifdef __cplusplus diff --git a/src/komodo_interest.h b/src/komodo_interest.h index b71178d15..cfcc3ed83 100644 --- a/src/komodo_interest.h +++ b/src/komodo_interest.h @@ -14,7 +14,8 @@ ******************************************************************************/ #define KOMODO_INTEREST ((uint64_t)(0.05 * COIN)) // 5% -#define dstr(x) ((double)(x)/COIN) +#define dstr(x) ((double)(x)/SATOSHIDEN) +#define SATOSHIDEN ((uint64_t)100000000L) uint64_t komodo_accrued_interest(int32_t height,int64_t paidinterest) {