From 404ee2ccb276e82803868035259d711e9e2df5cc Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 8 Oct 2016 09:02:20 -0300 Subject: [PATCH] test --- iguana/iguana_notary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index abf639942..b3780a109 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -215,7 +215,7 @@ int32_t dpow_getchaintip(struct supernet_info *myinfo,bits256 *blockhashp,uint32 { int32_t n,i,height = -1,maxtx = *numtxp; bits256 besthash; cJSON *array,*json; *numtxp = *blocktimep = 0; - besthash = dpow_getbestblockhash(myinfo,coin); + *blockhashp = besthash = dpow_getbestblockhash(myinfo,coin); if ( bits256_nonz(besthash) != 0 ) { if ( (json= dpow_getblock(myinfo,coin,besthash)) != 0 )