diff --git a/src/komodo_kv.h b/src/komodo_kv.h index 6961bd8e0..30d584634 100644 --- a/src/komodo_kv.h +++ b/src/komodo_kv.h @@ -138,9 +138,9 @@ void komodo_kvupdate(uint8_t *opretbuf,int32_t opretlen,uint64_t value) { tstr = (char *)"transfer:"; transferpubstr = (char *)&valueptr[strlen(tstr)]; - printf("transfer.(%s) to [%s]? ishex.%d\n",key,transferpubstr,is_hexstr(transferpubstr,0)); if ( strncmp(tstr,(char *)valueptr,strlen(tstr)) == 0 && is_hexstr(transferpubstr,0) == 64 ) { + printf("transfer.(%s) to [%s]? ishex.%d\n",key,transferpubstr,is_hexstr(transferpubstr,0)); for (i=0; i<32; i++) ((uint8_t *)&pubkey)[31-i] = _decode_hex(&transferpubstr[i*2]); }