From 8cafa0de98b97f02003022b030440a2fc05bb0bc Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 3 Jul 2017 12:03:25 +0300 Subject: [PATCH] Test --- src/komodo_gateway.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 2d290f42c..09be934d3 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -1054,6 +1054,13 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3 tokomodo = 0; if ( opretlen >= 38 ) // any KMD tx { + if ( opretlen > 38 ) + { + iguana_rwnum(0,&opretbuf[36],sizeof(kmdheight),&kmdheight); + for (i=0; i