Skip to content

Commit 7967636

Browse files
author
number571
committed
update
1 parent f74c40c commit 7967636

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

pkg/crypto/asymmetric/types.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import (
55
"github.com/number571/go-peer/pkg/types"
66
)
77

8+
type IPubKeyHash = []byte
9+
810
type IMapPubKeys interface {
9-
GetPubKey([]byte) IPubKey
11+
GetPubKey(IPubKeyHash) IPubKey
1012
DelPubKey(IPubKey)
1113
SetPubKey(IPubKey)
1214
}

test/result/badge_codelines.svg

Lines changed: 1 addition & 1 deletion
Loading

test/result/coverage.svg

Lines changed: 3 additions & 3 deletions
Loading

0 commit comments

Comments
 (0)