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:
1 file changed
+1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user