Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 82ef791

Browse files
committed
Fix peer ID
1 parent c0f902c commit 82ef791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/net.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (n *OpenBazaarNode) SendOfflineMessage(p peer.ID, k *libp2p.PubKey, m *pb.M
106106
// Base64 encode
107107
encodedCipherText := base64.StdEncoding.EncodeToString(relayciphertext)
108108

109-
n.WebRelayManager.SendRelayMessage(encodedCipherText, p.String())
109+
n.WebRelayManager.SendRelayMessage(encodedCipherText, p.Pretty())
110110

111111
// TODO: this function blocks if the recipient's public key is not on the local machine
112112
ciphertext, cerr := n.EncryptMessage(p, k, messageBytes)

0 commit comments

Comments
 (0)