This commit is contained in:
Rusty Russell
2015-06-09 14:07:00 +09:30
parent 3fef1584e5
commit a4517f27c7

View File

@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
sign_tx_input(ctx, commit, 0, redeemscript, tal_count(redeemscript),
privkey, &sig);
pkt = update_pkt(ctx, &revocation_hash, delta, &sig);
pkt = update_pkt(ctx, &revocation_hash, this_delta, &sig);
if (!write_all(STDOUT_FILENO, pkt,
sizeof(pkt->len) + le32_to_cpu(pkt->len)))
err(1, "Writing out packet");