mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
routing: convert testChan stuct to take an int64 for FeeRate
This commit is contained in:
parent
fae3dacc9b
commit
4ff66efa2b
1 changed files with 10 additions and 10 deletions
|
@ -77,16 +77,16 @@ type testNode struct {
|
||||||
// testChan represents the JSON version of a payment channel. This struct
|
// testChan represents the JSON version of a payment channel. This struct
|
||||||
// matches the Json that's encoded under the "edges" key within the test graph.
|
// matches the Json that's encoded under the "edges" key within the test graph.
|
||||||
type testChan struct {
|
type testChan struct {
|
||||||
Node1 string `json:"node_1"`
|
Node1 string `json:"node_1"`
|
||||||
Node2 string `json:"node_2"`
|
Node2 string `json:"node_2"`
|
||||||
ChannelID uint64 `json:"channel_id"`
|
ChannelID uint64 `json:"channel_id"`
|
||||||
ChannelPoint string `json:"channel_point"`
|
ChannelPoint string `json:"channel_point"`
|
||||||
Flags uint16 `json:"flags"`
|
Flags uint16 `json:"flags"`
|
||||||
Expiry uint16 `json:"expiry"`
|
Expiry uint16 `json:"expiry"`
|
||||||
MinHTLC int64 `json:"min_htlc"`
|
MinHTLC int64 `json:"min_htlc"`
|
||||||
FeeBaseMsat int64 `json:"fee_base_msat"`
|
FeeBaseMsat int64 `json:"fee_base_msat"`
|
||||||
FeeRate float64 `json:"fee_rate"`
|
FeeRate int64 `json:"fee_rate"`
|
||||||
Capacity int64 `json:"capacity"`
|
Capacity int64 `json:"capacity"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// makeTestGraph creates a new instance of a channeldb.ChannelGraph for testing
|
// makeTestGraph creates a new instance of a channeldb.ChannelGraph for testing
|
||||||
|
|
Loading…
Add table
Reference in a new issue