mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-08 15:44:19 +01:00
wally: Remove tx->input and tx->output, wally all the way!
This is what all of this has been working towards: ripping out the handwoven transaction handling. By removing the custom parsing we can finally switch over to using `wally_tx` as sole representation of transactions in memory. The commit is a bit larger but it's mostly removing setters and old references to the input and output fields. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
cf9f484168
commit
509bb2c7ae
@@ -198,7 +198,6 @@ struct bitcoin_tx *initial_commit_tx(const tal_t *ctx,
|
||||
}
|
||||
|
||||
assert(n <= tx->wtx->num_outputs);
|
||||
tal_resize(&tx->output, n);
|
||||
|
||||
/* BOLT #3:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user