mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-25 21:21:33 +02:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user