|
|
@ -958,9 +958,9 @@ int32_t komodo_opreturnscript(uint8_t *script,uint8_t type,uint8_t *opret,int32_ |
|
|
|
script[offset++] = opretlen; |
|
|
|
} |
|
|
|
} else script[offset++] = opretlen; |
|
|
|
script[offset] = type; // covered by opretlen
|
|
|
|
memcpy(&script[offset],opret,opretlen); |
|
|
|
return(opretlen + offset); |
|
|
|
script[offset++] = type; // covered by opretlen
|
|
|
|
memcpy(&script[offset],opret,opretlen-1); |
|
|
|
return(offset + opretlen - 1); |
|
|
|
} |
|
|
|
|
|
|
|
long _stripwhite(char *buf,int accept) |
|
|
|