diff --git a/common/coin_mvt.c b/common/coin_mvt.c index 201683174..4a3063348 100644 --- a/common/coin_mvt.c +++ b/common/coin_mvt.c @@ -34,7 +34,7 @@ static const char *mvt_tags[] = { "channel_proposed", "splice", "penalty_adj", - "journal", + "journal_entry", "foreign", }; diff --git a/contrib/msggen/msggen/schema.json b/contrib/msggen/msggen/schema.json index 68a5a44c9..b948a0c3e 100644 --- a/contrib/msggen/msggen/schema.json +++ b/contrib/msggen/msggen/schema.json @@ -16855,7 +16855,7 @@ "lease_fee", "channel_proposed", "penalty_adj", - "journal" + "journal_entry" ], "description": [ "A set of one or more tags defining the nature of the change" diff --git a/doc/schemas/listchannelmoves.json b/doc/schemas/listchannelmoves.json index a803136c5..d98a72b77 100644 --- a/doc/schemas/listchannelmoves.json +++ b/doc/schemas/listchannelmoves.json @@ -103,7 +103,7 @@ "lease_fee", "channel_proposed", "penalty_adj", - "journal" + "journal_entry" ], "description": [ "A set of one or more tags defining the nature of the change" diff --git a/tests/test_bookkeeper.py b/tests/test_bookkeeper.py index c80c03fb4..edb57c0aa 100644 --- a/tests/test_bookkeeper.py +++ b/tests/test_bookkeeper.py @@ -1126,7 +1126,7 @@ def test_migration_no_bkpr(node_factory, bitcoind): 'currency': 'bcrt', 'debit_msat': 12345678, 'is_rebalance': False, - 'tag': 'journal', + 'tag': 'journal_entry', 'type': 'channel'}] assert l2_events == [{'account': chan['channel_id'], @@ -1142,5 +1142,5 @@ def test_migration_no_bkpr(node_factory, bitcoind): 'currency': 'bcrt', 'debit_msat': 0, 'is_rebalance': False, - 'tag': 'journal', + 'tag': 'journal_entry', 'type': 'channel'}] diff --git a/tests/test_coinmoves.py b/tests/test_coinmoves.py index acf1c0d4d..0cdefe83f 100644 --- a/tests/test_coinmoves.py +++ b/tests/test_coinmoves.py @@ -2021,14 +2021,14 @@ def test_migration_no_bkpr(node_factory, bitcoind): 'credit_msat': 0, 'debit_msat': 12345678, 'fees_msat': 0, - 'primary_tag': 'journal', + 'primary_tag': 'journal_entry', }] expected_channel2 = [{'account_id': chan['channel_id'], 'created_index': 1, 'credit_msat': 12345678, 'debit_msat': 0, 'fees_msat': 0, - 'primary_tag': 'journal', + 'primary_tag': 'journal_entry', }] expected_chain1 = [{'account_id': 'wallet', 'blockheight': 103,