open-anchor-scriptsig: use pubkey, not addr in scriptsig.

Oops.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2015-06-04 15:05:04 +09:30
parent 50609c6771
commit abac31072e
3 changed files with 4 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ u8 *scriptpubkey_pay_to_pubkeyhash(const tal_t *ctx,
/* Create an input script to accept pay to pubkey */
u8 *scriptsig_pay_to_pubkeyhash(const tal_t *ctx,
const struct bitcoin_address *addr,
const struct pubkey *key,
const struct signature *sig);
/* Create an input script to accept pay to pubkey */