diff --git a/src/transaction/Logs.tsx b/src/transaction/Logs.tsx index d4233b7..62196fa 100644 --- a/src/transaction/Logs.tsx +++ b/src/transaction/Logs.tsx @@ -19,10 +19,12 @@ const Logs: React.FC = ({ txData, metadata }) => { const abi = metadata.output.abi; const intf = new Interface(abi as any); return txData.confirmedData?.logs.map((l) => - intf.parseLog({ - topics: l.topics, - data: l.data, - }) + l.address === txData.to + ? intf.parseLog({ + topics: l.topics, + data: l.data, + }) + : undefined ); }, [metadata, txData]);