diff --git a/src/svm/web3-v1/solanaProgramUtils.ts b/src/svm/web3-v1/solanaProgramUtils.ts index 5c5ae4ff2..b3269c40d 100644 --- a/src/svm/web3-v1/solanaProgramUtils.ts +++ b/src/svm/web3-v1/solanaProgramUtils.ts @@ -239,7 +239,7 @@ export function stringifyCpiEvent(obj: any): any { return obj.toString(); } else if (BN.isBN(obj)) { return obj.toString(); - } else if (typeof obj === "bigint" && obj !== 0n) { + } else if (typeof obj === "bigint") { return obj.toString(); } else if (Array.isArray(obj) && obj.length == 32) { return Buffer.from(obj).toString("hex"); // Hex representation for fixed-length arrays