diff --git a/packages/marinade-ts-cli/src/commands/showEvent.ts b/packages/marinade-ts-cli/src/commands/showEvent.ts index 71eb987..4d8cb25 100644 --- a/packages/marinade-ts-cli/src/commands/showEvent.ts +++ b/packages/marinade-ts-cli/src/commands/showEvent.ts @@ -24,6 +24,10 @@ async function showEvent({ eventData }: { eventData: string }) { }) const marinade = new Marinade(marinadeConfig) + eventData = eventData + .trim() + .replace(/Program data:/g, '') + .trim() const decodedData = marinade.marinadeFinanceProgram.program.coder.events.decode(eventData) ?? marinade.marinadeReferralProgram.program.coder.events.decode(eventData)