From cf9f4841689283f61d70c0e432459ba36271bb9f Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Mon, 25 Mar 2019 13:37:11 +0100 Subject: [PATCH] wally: Migrate channeld over to use libwally Signed-off-by: Christian Decker --- channeld/commit_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channeld/commit_tx.c b/channeld/commit_tx.c index 27e64caca..c679c63be 100644 --- a/channeld/commit_tx.c +++ b/channeld/commit_tx.c @@ -263,7 +263,7 @@ struct bitcoin_tx *commit_tx(const tal_t *ctx, * However, valgrind will warn us something wierd is happening */ SUPERVERBOSE("# to-remote amount %s P2WPKH(%s)\n", type_to_string(tmpctx, struct amount_sat, - &tx->output[n].amount), + &amount), type_to_string(tmpctx, struct pubkey, &keyset->other_payment_key)); n++;