lnrpc: add session ID to tower session info
This will be used in the itest added in an upcoming commit so that we can test the TerminateSession command.
This commit is contained in:
4 files changed
+22
-1
No files matched your search
@@ -550,6 +550,7 @@ func marshallTower(tower *wtclient.RegisteredTower, policyType PolicyType,
|
||||
for _, session := range sessions {
|
||||
satPerVByte := session.Policy.SweepFeeRate.FeePerVByte()
|
||||
rpcSessions = append(rpcSessions, &TowerSession{
|
||||
Id: session.ID[:],
|
||||
NumBackups: uint32(ackCounts[session.ID]),
|
||||
NumPendingBackups: uint32(pendingCounts[session.ID]),
|
||||
MaxBackups: uint32(session.Policy.MaxUpdates),
|
||||
|
||||
Reference in new issue
Block a user