Skip to content

Commit

Permalink
fix: show data for raw tx
Browse files Browse the repository at this point in the history
Signed-off-by: david <[email protected]>
  • Loading branch information
daywiss committed Jan 25, 2024
1 parent 9a6d9fb commit 3e763c6
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 3e763c6

Please sign in to comment.