mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
anchor: fix anchor production for RIPEMD hash.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user