mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +01:00
anchor: fix anchor production for RIPEMD hash.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
617d21eb43
commit
3ed87c5e6f
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ u8 *scriptpubkey_pay_to_pubkeyhash(const tal_t *ctx,
|
|||
|
||||
add_op(&script, OP_DUP);
|
||||
add_op(&script, OP_HASH160);
|
||||
add_push_bytes(&script, addr, sizeof(addr));
|
||||
add_push_bytes(&script, addr, sizeof(*addr));
|
||||
add_op(&script, OP_EQUALVERIFY);
|
||||
add_op(&script, OP_CHECKSIG);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue