diff options
Diffstat (limited to 'src/Ssb/Peer.hs')
-rw-r--r-- | src/Ssb/Peer.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ssb/Peer.hs b/src/Ssb/Peer.hs index 75078ff..41a49cb 100644 --- a/src/Ssb/Peer.hs +++ b/src/Ssb/Peer.hs @@ -45,7 +45,7 @@ parseMultiAddress txt = do { protocol = protocol , host = address , port = port - , key = PublicKey $ Base64.decodeLenient $ toS key + , key = PublicKey $ Base64.decodeLenient $ encodeUtf8 key } where split c arg = (identity *** Text.drop 1) $ Text.breakOn c arg |