From 49ec4ca2a356f9749d3ea009c7af3983395b345c Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 6 Jul 2019 23:43:36 -1100 Subject: [PATCH] Fix --- src/komodo_nSPV_wallet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_nSPV_wallet.h b/src/komodo_nSPV_wallet.h index ba2f66464..d5702f816 100644 --- a/src/komodo_nSPV_wallet.h +++ b/src/komodo_nSPV_wallet.h @@ -65,7 +65,7 @@ int32_t NSPV_gettransaction(uint256 txid,int32_t height,CTransaction &tx) else { NSPV_notarizations(height); // gets the prev and next notarizations - if ( NSPV_ntzsresult.prevntz.height == 0 ) + if ( NSPV_ntzsresult.prevntz.height == 0 || NSPV_ntzsresult.prevntz.height >= NSPV_ntzsresult.nextntz.height ) { fprintf(stderr,"issue manual bracket\n"); NSPV_notarizations(height-1);