From 849d81c6916b5e1591f03a65f7c8ba252fde85ff Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Fri, 15 Aug 2025 10:28:30 +0200 Subject: [PATCH] graph/db: let test policy have some extra opaque data This will help us test idempotency later on, but it also ensures that TestMigrateGraphToSQL is properly testing writes to the graph_channel_policy_extra_types table. --- graph/db/sql_migration_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/graph/db/sql_migration_test.go b/graph/db/sql_migration_test.go index 5164425f6..44006a0fd 100644 --- a/graph/db/sql_migration_test.go +++ b/graph/db/sql_migration_test.go @@ -717,6 +717,7 @@ func makeTestPolicy(chanID uint64, toNode route.Vertex, isNode1 bool, FeeBaseMSat: math.MaxUint64, FeeProportionalMillionths: math.MaxUint64, ToNode: toNode, + ExtraOpaqueData: testExtraData, } for _, opt := range opts {