mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-12 22:19:06 +02:00
feature/refactor: unexport set raw
This commit is contained in:
parent
e41c65785f
commit
4e98f4da5e
@ -181,8 +181,8 @@ func (m *Manager) GetRaw(set Set) *lnwire.RawFeatureVector {
|
||||
return lnwire.NewRawFeatureVector()
|
||||
}
|
||||
|
||||
// SetRaw sets a new raw feature vector for the given set.
|
||||
func (m *Manager) SetRaw(set Set, raw *lnwire.RawFeatureVector) {
|
||||
// setRaw sets a new raw feature vector for the given set.
|
||||
func (m *Manager) setRaw(set Set, raw *lnwire.RawFeatureVector) {
|
||||
m.fsets[set] = raw
|
||||
}
|
||||
|
||||
@ -237,7 +237,7 @@ func (m *Manager) UpdateFeatureSets(
|
||||
// passed validation so that we don't partially update any sets then
|
||||
// fail out on a later set's validation.
|
||||
for set, features := range updates {
|
||||
m.SetRaw(set, features.Clone())
|
||||
m.setRaw(set, features.Clone())
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user