From 39b462c7293afc639f658e0a52eaeee9ee20a171 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 1 Dec 2016 17:29:43 -0300 Subject: [PATCH] test --- src/komodo_bitcoind.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index e21c75cb1..938a7c7b6 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -376,9 +376,10 @@ uint256 _komodo_getblockhash(int32_t height); uint64_t komodo_seed(int32_t height) { + uint64_t seed = 0; if ( 0 ) // problem during init time, seeds are needed for loading blockindex, so null seeds... { - uint256 hash,zero; uint64_t seed = 0; CBlockIndex *pindex; + uint256 hash,zero; CBlockIndex *pindex; memset(&hash,0,sizeof(hash)); memset(&zero,0,sizeof(zero)); if ( height > 10 )