mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-09 23:33:06 +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:
@@ -716,6 +716,7 @@ func makeTestPolicy(chanID uint64, toNode route.Vertex, isNode1 bool,
|
|||||||
FeeBaseMSat: math.MaxUint64,
|
FeeBaseMSat: math.MaxUint64,
|
||||||
FeeProportionalMillionths: math.MaxUint64,
|
FeeProportionalMillionths: math.MaxUint64,
|
||||||
ToNode: toNode,
|
ToNode: toNode,
|
||||||
|
ExtraOpaqueData: testExtraData,
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, opt := range opts {
|
for _, opt := range opts {
|
||||||
|
Reference in New Issue
Block a user