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