Browse Source

Fix redeem-2of2 script.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 10 years ago
parent
commit
949c8c8d67
  1. 1
      bitcoin_script.c

1
bitcoin_script.c

@ -87,6 +87,7 @@ u8 *bitcoin_redeem_2of2(const tal_t *ctx,
add_push_bytes(&script, key2->key.data, key2->key.len); add_push_bytes(&script, key2->key.data, key2->key.len);
add_push_bytes(&script, key1->key.data, key1->key.len); add_push_bytes(&script, key1->key.data, key1->key.len);
} }
add_op(&script, OP_LITERAL(2));
add_op(&script, OP_CHECKMULTISIG); add_op(&script, OP_CHECKMULTISIG);
return script; return script;
} }

Loading…
Cancel
Save