Skip to content

Commit 73705ff

Browse files
authored
Typo fix (#1232)
1 parent 3b18909 commit 73705ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/address/address.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func SubnetForKey(publicKey ed25519.PublicKey) *Subnet {
113113
return &snet
114114
}
115115

116-
// GetKet returns the partial ed25519.PublicKey for the Address.
116+
// GetKey returns the partial ed25519.PublicKey for the Address.
117117
// This is used for key lookup.
118118
func (a *Address) GetKey() ed25519.PublicKey {
119119
var key [ed25519.PublicKeySize]byte
@@ -141,7 +141,7 @@ func (a *Address) GetKey() ed25519.PublicKey {
141141
return ed25519.PublicKey(key[:])
142142
}
143143

144-
// GetKet returns the partial ed25519.PublicKey for the Subnet.
144+
// GetKey returns the partial ed25519.PublicKey for the Subnet.
145145
// This is used for key lookup.
146146
func (s *Subnet) GetKey() ed25519.PublicKey {
147147
var addr Address

0 commit comments

Comments
 (0)