commit e2551087b362bf2822ce7221d09dc46da5cd353f
parent ae5a8902095af28089da1e0c27022d146e8ce693
Author: William Casarin <jb55@jb55.com>
Date: Mon, 3 Jun 2019 23:57:23 -0700
update readme
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -31,5 +31,6 @@ $ btcs 1 2 16 3dup 2swap
script 1 2 16 OP_3DUP OP_2SWAP
script_hex 5152606f72
stack 1 2 2 16 16 1
-stack_hex 515252606051
+stack_hex 010202101001
+results success
```
diff --git a/main.c b/main.c
@@ -60,11 +60,11 @@ int main(int argc, const char *argv[]) {
printf("%02x", buf[i]);
printf("\n");
- printf("output ");
+ printf("stack ");
script_print_vals(&tmp_stack);
stack_serialize(&tmp_stack, buf, bufsize, &compiled_len);
- printf("output_hex ");
+ printf("stack_hex ");
for(i = 0; i < compiled_len; ++i)
printf("%02x", buf[i]);
printf("\n");