listtransactions: get rid of per-tx type annotations.

We didn't actually populate them properly, and the real annotations
are on inputs and outputs.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-EXPERIMENTAL: JSON-RPC: `listtransactions` `channel` and `type` field removed at top level.
This commit is contained in:
Rusty Russell
2023-01-30 16:36:03 +10:30
committed by Alex Myers
parent 578f075407
commit 611795beee
25 changed files with 23 additions and 235 deletions

View File

@@ -266,7 +266,7 @@ static void peer_received_closing_signature(struct channel *channel,
}
if (closing_fee_is_acceptable(ld, channel, tx)) {
channel_set_last_tx(channel, tx, &sig, TX_CHANNEL_CLOSE);
channel_set_last_tx(channel, tx, &sig);
wallet_channel_save(ld->wallet, channel);
}