address net interface split review

This commit is contained in:
Łukasz Magiera 2021-07-15 15:46:44 +02:00
parent b20581bac2
commit d5c9cccf21
2 changed files with 0 additions and 4 deletions

View File

@ -51,8 +51,6 @@ type Net interface {
NetBlockRemove(ctx context.Context, acl NetBlockList) error //perm:admin
NetBlockList(ctx context.Context) (NetBlockList, error) //perm:read
// MethodGroup: Common
// ID returns peerID of libp2p node backing this API
ID(context.Context) (peer.ID, error) //perm:read
}

View File

@ -43,7 +43,6 @@ func TestGetInternalStructs(t *testing.T) {
require.Equal(t, 4, proxy.StrB.Internal.B)
}
func TestNestedInternalStructs(t *testing.T) {
var proxy StrC
@ -61,4 +60,3 @@ func TestNestedInternalStructs(t *testing.T) {
require.Equal(t, 5, proxy.Internal.Internal.C)
}