Skip to content

Commit

Permalink
fix: show data for raw tx (#4527)
Browse files Browse the repository at this point in the history
Signed-off-by: david <[email protected]>
  • Loading branch information
daywiss authored Jan 26, 2024
1 parent 9a6d9fb commit 207edeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/oSnap/Proposal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ function enrichTransactionsForDisplay(transactions: Transaction[]) {
}
function enrichTransactionForDisplay(transaction: Transaction) {
const { to, value } = transaction;
const commonProperties = { to, value: formatEther(value) };
const { to, value, data } = transaction;
const commonProperties = { to, value: formatEther(value), data };
if (transaction.type === 'raw') {
return { ...commonProperties, type: 'Raw' };
}
Expand Down

0 comments on commit 207edeb

Please sign in to comment.