mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-26 23:53:19 +08:00
fix: format of pnet error message
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
@ -193,7 +193,7 @@ func (n *IpfsNode) startOnlineServices(ctx context.Context, routingOption Routin
|
||||
if swarmkey != nil {
|
||||
protec, err = pnet.NewProtector(bytes.NewReader(swarmkey))
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to configure private network: ", err)
|
||||
return fmt.Errorf("failed to configure private network: %s", err)
|
||||
}
|
||||
n.PNetFingerprint = protec.Fingerprint()
|
||||
go func() {
|
||||
|
Reference in New Issue
Block a user