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:
Rusty Russell
2015-09-24 14:56:01 +09:30
parent 186736050f
commit 58a62e782d
4 changed files with 3 additions and 8 deletions

View File

@@ -181,7 +181,6 @@ u8 *scriptpubkey_p2sh(const tal_t *ctx, const u8 *redeemscript)
u8 *scriptpubkey_htlc_send(const tal_t *ctx,
const struct pubkey *ourkey,
const struct pubkey *theirkey,
uint64_t value,
uint32_t htlc_abstimeout,
uint32_t locktime,
const struct sha256 *commit_revoke,
@@ -230,7 +229,6 @@ u8 *scriptpubkey_htlc_send(const tal_t *ctx,
u8 *scriptpubkey_htlc_recv(const tal_t *ctx,
const struct pubkey *ourkey,
const struct pubkey *theirkey,
uint64_t value,
uint32_t htlc_abstimeout,
uint32_t locktime,
const struct sha256 *commit_revoke,