We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a5bf70 commit c752ab1Copy full SHA for c752ab1
infrastructure/signature-validator/src/index.ts
@@ -97,7 +97,7 @@ async function decodeSignature(signature: string): Promise<Uint8Array> {
97
if (signature.startsWith("z")) {
98
try {
99
const base58btc = await getBase58btc();
100
- return base58btc.decode(signature.slice(1));
+ return base58btc.decode(signature);
101
} catch (error) {
102
throw new Error(`Failed to decode multibase signature: ${error instanceof Error ? error.message : String(error)}`);
103
}
0 commit comments