This commit is contained in:
jl777
2017-01-16 18:08:50 +02:00
parent 7641baed4d
commit 73678c97f5

View File

@@ -819,11 +819,11 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
}
else if ( opretbuf[0] == 'W' )//&& opretlen >= 38 )
{
if ( komodo_baseid((char *)&opretbuf[opretlen-4]) >= 0 )
if ( komodo_baseid((char *)&opretbuf[opretlen-4]) >= 0 && strcmp("KMD",(char *)&opretbuf[opretlen-4]) != 0 )
{
for (i=0; i<opretlen; i++)
printf("%02x",opretbuf[i]);
printf(" reject obsolete withdraw request\n");
printf(" reject obsolete withdraw request.%s\n",(char *)&opretbuf[opretlen-4]);
return(typestr);
}
tokomodo = 1;