mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
lnwire+discovery: rename ShortChannelIDEncoding to QueryEncoding
Since the the encoding can be used for multiple different fields, we rename it here to be more generic.
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
type unsortedSidTest struct {
|
||||
name string
|
||||
encType ShortChanIDEncoding
|
||||
encType QueryEncoding
|
||||
sids []ShortChannelID
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ func TestQueryShortChanIDsUnsorted(t *testing.T) {
|
||||
func TestQueryShortChanIDsZero(t *testing.T) {
|
||||
testCases := []struct {
|
||||
name string
|
||||
encoding ShortChanIDEncoding
|
||||
encoding QueryEncoding
|
||||
}{
|
||||
{
|
||||
name: "plain",
|
||||
|
Reference in New Issue
Block a user