Skip to content

Commit c4a7fe9

Browse files
committed
fix: typo
1 parent 96b498a commit c4a7fe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

records.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (dht *IpfsDHT) getPublicKeyFromDHT(ctx context.Context, p peer.ID) (ci.PubK
7979

8080
pubk, err := ci.UnmarshalPublicKey(val)
8181
if err != nil {
82-
logger.Errorf("Could not unmarshall public key retrieved from DHT for %v", p)
82+
logger.Errorf("Could not unmarshal public key retrieved from DHT for %v", p)
8383
return nil, err
8484
}
8585

@@ -111,7 +111,7 @@ func (dht *IpfsDHT) getPublicKeyFromNode(ctx context.Context, p peer.ID) (ci.Pub
111111

112112
pubk, err := ci.UnmarshalPublicKey(record.GetValue())
113113
if err != nil {
114-
logger.Errorf("Could not unmarshall public key for %v", p)
114+
logger.Errorf("Could not unmarshal public key for %v", p)
115115
return nil, err
116116
}
117117

0 commit comments

Comments
 (0)