Актуализация пакета base-x

This commit is contained in:
Book Pauk
2022-07-02 12:46:10 +07:00
parent 03e4a6d723
commit 85a525e301
4 changed files with 10 additions and 16 deletions

View File

@@ -90,7 +90,7 @@ export function toBase58(data) {
}
export function fromBase58(data) {
return bs58.decode(data);
return Buffer.from(bs58.decode(data));
}
//base-x слишком тормозит, используем sjcl