fix hashBtS

This commit is contained in:
Ludovic Chenut 2023-11-07 10:27:36 +01:00
parent f350479824
commit ad43f41ad7
No known key found for this signature in database
GPG Key ID: D9A59B1907F1D50C

View File

@ -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