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 d9c5431 commit 12a98baCopy full SHA for 12a98ba
packages/core/src/renderer.ts
@@ -936,9 +936,11 @@ export class Renderer {
936
setTimeout(() => {
937
/* Populate attribution tags */
938
const zeroAddress = "0000000000000000000000000000000000000000";
939
- const modTag = this.manifest.custodyAddress.startsWith("0x")
940
- ? this.manifest.custodyAddress.slice(2)
941
- : zeroAddress;
+ const modTag =
+ this.manifest.custodyAddress.startsWith("0x") &&
+ this.manifest.custodyAddress.length === 42
942
+ ? this.manifest.custodyAddress.slice(2)
943
+ : zeroAddress;
944
const clientTag =
945
this.context.clientReferralAddress?.slice(2) || zeroAddress;
946
let txData = this.replaceInlineContext(action.txData.data || "");
0 commit comments