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.
This commit is contained in:
Elle Mouton committed 2025-09-01 07:56:08 +02:00
1 parent 0c2f045f5d
commit 9019bcaddf
1 file changed
+1
+1
View File
@@ -716,6 +716,7 @@ func makeTestPolicy(chanID uint64, toNode route.Vertex, isNode1 bool,
FeeBaseMSat: math.MaxUint64,
FeeProportionalMillionths: math.MaxUint64,
ToNode: toNode,
ExtraOpaqueData: testExtraData,
}
for _, opt := range opts {