diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index f36c71e98..a042f1898 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -376,8 +376,6 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3 return(typestr); } -int32_t komodo_longestchain(); - void komodo_passport_iteration() { static long lastpos[34]; static char userpass[33][1024]; diff --git a/src/komodo_globals.h b/src/komodo_globals.h index 9415a16d6..a4ab49acf 100644 --- a/src/komodo_globals.h +++ b/src/komodo_globals.h @@ -22,6 +22,7 @@ void komodo_assetchain_pubkeys(char *jsonstr); int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33); int32_t komodo_isrealtime(int32_t *kmdheightp); uint64_t komodo_paxtotal(); +int32_t komodo_longestchain(); pthread_mutex_t komodo_mutex;