mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
Fix redeem-2of2 script.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
3a62a9172d
commit
949c8c8d67
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue