mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-10 21:16:30 +00:00
fix hashBtS
This commit is contained in:
parent
f350479824
commit
ad43f41ad7
@ -312,7 +312,7 @@ proc certHashBtS(vb: var VBuffer, s: var string): bool =
|
||||
if vb.readSeq(address) > 0:
|
||||
var mh: MultiHash
|
||||
if MultiHash.decode(address, mh).isOk:
|
||||
s = MultiBase.encode("base64", address).valueOr:
|
||||
s = MultiBase.encode("base64url", address).valueOr:
|
||||
return false
|
||||
result = true
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user