docs: paych - correct comments on store fields

This commit is contained in:
Dirk McCormick 2020-09-03 08:22:40 +02:00
parent 3daa0b5e63
commit 1d3a21f6c8

View File

@ -59,12 +59,12 @@ type ChannelInfo struct {
ChannelID string ChannelID string
// Channel address - may be nil if the channel hasn't been created yet // Channel address - may be nil if the channel hasn't been created yet
Channel *address.Address Channel *address.Address
// Control is the address of the account that created the channel // Control is the address of the local node
Control address.Address Control address.Address
// Target is the address of the account on the other end of the channel // Target is the address of the remote node (on the other end of the channel)
Target address.Address Target address.Address
// Direction indicates if the channel is inbound (this node is the Target) // Direction indicates if the channel is inbound (Control is the "to" address)
// or outbound (this node is the Control) // or outbound (Control is the "from" address)
Direction uint64 Direction uint64
// Vouchers is a list of all vouchers sent on the channel // Vouchers is a list of all vouchers sent on the channel
Vouchers []*VoucherInfo Vouchers []*VoucherInfo