From 88f973c27d07f827afcf3ce9162f4a819e18da70 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 23 Oct 2016 15:46:33 -0300 Subject: [PATCH] test --- src/komodo.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/komodo.h b/src/komodo.h index 09783fe2e..857f63efd 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -19,6 +19,7 @@ #include #include #include +#include #include "uthash.h" #include "komodo_interest.h" @@ -481,9 +482,12 @@ void komodo_pvals(int32_t height,uint32_t *pvals,uint8_t numpvals) } } -int32_t komodo_baseid(char *base) +int32_t komodo_baseid(char *origbase) { - int32_t i; + int32_t i; char base[64]; + for (i=0; origbase[i]!=0&&i