From edcba6791ff047648a127ee9284ec0e2f2376910 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Mon, 29 Jul 2019 04:27:09 +0800 Subject: [PATCH] fix other notarizations --- src/komodo_nSPV_fullnode.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/komodo_nSPV_fullnode.h b/src/komodo_nSPV_fullnode.h index 00bd099b3..bc2a6a02f 100644 --- a/src/komodo_nSPV_fullnode.h +++ b/src/komodo_nSPV_fullnode.h @@ -69,11 +69,14 @@ int32_t NSPV_notarized_bracket(struct NSPV_ntzargs *prev,struct NSPV_ntzargs *ne int32_t NSPV_ntzextract(struct NSPV_ntz *ptr,uint256 ntztxid,int32_t txidht,uint256 desttxid,int32_t ntzheight) { + CBlockIndex *pindex; ptr->blockhash = *chainActive[ntzheight]->phashBlock; ptr->height = ntzheight; ptr->txidheight = txidht; ptr->othertxid = desttxid; ptr->txid = ntztxid; + if ( (pindex= komodo_chainactive(ptr->txidheight)) != 0 ) + ptr->timestamp = pindex->nTime; return(0); }