mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 16:14:26 +01:00
Fix redeem-2of2 script.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -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, key1->key.data, key1->key.len);
|
||||
}
|
||||
add_op(&script, OP_LITERAL(2));
|
||||
add_op(&script, OP_CHECKMULTISIG);
|
||||
return script;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user