fix: don't prefix base58 since encoder already does it
This commit is contained in:
parent
c654a18159
commit
17151d25d0
|
@ -46,7 +46,7 @@ export default abstract class Multibase {
|
||||||
}
|
}
|
||||||
|
|
||||||
toBase58(): string {
|
toBase58(): string {
|
||||||
return `z${base58btc.encode(this.toBytes())}`;
|
return base58btc.encode(this.toBytes());
|
||||||
}
|
}
|
||||||
|
|
||||||
toString(): string {
|
toString(): string {
|
||||||
|
|
Loading…
Reference in New Issue