htlcswitch: update link to adhere to new channeldb API's
This commit is contained in:
parent
ea334e4d47
commit
a48ceac98f
@ -1007,9 +1007,9 @@ func (l *channelLink) UpdateForwardingPolicy(newPolicy ForwardingPolicy) {
|
||||
func (l *channelLink) Stats() (uint64, lnwire.MilliSatoshi, lnwire.MilliSatoshi) {
|
||||
snapshot := l.channel.StateSnapshot()
|
||||
|
||||
return snapshot.NumUpdates,
|
||||
snapshot.TotalMilliSatoshisSent,
|
||||
snapshot.TotalMilliSatoshisReceived
|
||||
return snapshot.ChannelCommitment.CommitHeight,
|
||||
snapshot.TotalMSatSent,
|
||||
snapshot.TotalMSatReceived
|
||||
}
|
||||
|
||||
// String returns the string representation of channel link.
|
||||
|
Loading…
Reference in New Issue
Block a user