mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-08 15:44:19 +01:00
wally: Migrate main daemon to use wally transactions
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
c39963b8b7
commit
d651ce6f3b
@@ -197,7 +197,7 @@ struct bitcoin_tx *initial_commit_tx(const tal_t *ctx,
|
||||
n++;
|
||||
}
|
||||
|
||||
assert(n <= tal_count(tx->output));
|
||||
assert(n <= tx->wtx->num_outputs);
|
||||
tal_resize(&tx->output, n);
|
||||
|
||||
/* BOLT #3:
|
||||
|
||||
Reference in New Issue
Block a user