From be93e8049fcdd76da1eee3807ab50ede71bc8e33 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 18 Jul 2019 02:55:44 -1100 Subject: [PATCH] Syntax --- src/komodo_nSPV_fullnode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/komodo_nSPV_fullnode.h b/src/komodo_nSPV_fullnode.h index 7c5f421c2..054077765 100644 --- a/src/komodo_nSPV_fullnode.h +++ b/src/komodo_nSPV_fullnode.h @@ -280,7 +280,8 @@ int32_t NSPV_mempoolfuncs(int32_t *vindexp,std::vector &txids,char *coi CScript scriptPubKey = tx.vout[tx.vout.size()-1].scriptPubKey; if ( GetOpReturnData(scriptPubKey,vopret) != 0 ) { - if ( vopret[0] == e && vopret[1] == f ) + uint8_t *ptr = vopret.data(); + if ( ptr[0] == e && ptr[1] == f ) { txids.push_back(hash); num++;