Skip to content

Commit

Permalink
hide sender for new epoch movements
Browse files Browse the repository at this point in the history
  • Loading branch information
minaxolone committed Jun 9, 2024
1 parent 600a6ab commit d5fa498
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,15 @@ const UserMovement: FC<Props> = ({ movement }) => {
{`::${transaction.moduleName}::`}
<span className="text-blue-500">{transaction.functionName}</span>
</div>
<div>
<AccountAddress address={`${transaction.sender.toString('hex').toUpperCase()}`} />
</div>
{!(
moduleAddress === '01' &&
transaction.moduleName == 'diem_governance' &&
transaction.functionName == 'trigger_epoch'
) && (
<div>
<AccountAddress address={`${transaction.sender.toString('hex').toUpperCase()}`} />
</div>
)}
</div>
);
};
Expand Down

0 comments on commit d5fa498

Please sign in to comment.