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
2025-08-15 10:28:30 +02:00
parent a69762f3bf
commit 849d81c691

View File

@@ -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 {