mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-03 21:24:22 +01:00
bitcoin/script: don't pass value for HTLC script.
We don't need it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -116,12 +116,12 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (received) {
|
||||
redeemscript = scriptpubkey_htlc_recv(ctx, &pubkey1, &pubkey2,
|
||||
u->amount, htlc_abstimeout,
|
||||
htlc_abstimeout,
|
||||
locktime, &revoke_hash,
|
||||
&htlc_rhash);
|
||||
} else {
|
||||
redeemscript = scriptpubkey_htlc_send(ctx, &pubkey1, &pubkey2,
|
||||
u->amount, htlc_abstimeout,
|
||||
htlc_abstimeout,
|
||||
locktime, &revoke_hash,
|
||||
&htlc_rhash);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user