Browse Source

test

pull/4/head
jl777 8 years ago
parent
commit
795751ec56
  1. 6
      src/komodo_utils.h

6
src/komodo_utils.h

@ -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)

Loading…
Cancel
Save