The approve-tx view (dapp-initiated transaction approval) now shows the estimated USD value next to the ETH amount being transferred, using the existing getPrice/formatUsd from shared/prices.js.
This matches the behavior already present in the manual send confirmation view (confirmTx.js).
When ETH price is available, the value line shows e.g. 0.5000 ETH ($1,650.00). When price is unavailable, it falls back gracefully to just the ETH amount.
The approve-tx view (dapp-initiated transaction approval) now shows the estimated USD value next to the ETH amount being transferred, using the existing `getPrice`/`formatUsd` from `shared/prices.js`.
This matches the behavior already present in the manual send confirmation view (`confirmTx.js`).
When ETH price is available, the value line shows e.g. `0.5000 ETH ($1,650.00)`. When price is unavailable, it falls back gracefully to just the ETH amount.
closes #138
Use getPrice/formatUsd from shared/prices to display the USD estimate
next to the ETH amount in the dapp transaction approval view, matching
the behavior already present in the manual send confirmation view.
closes#138
LGTM. The diff correctly imports getPrice/formatUsd from shared/prices.js and applies the same USD display pattern used in confirmTx.js (valueWithUsd). Docker build passes (make check + make build). Clean, minimal 8-line change.
Moving to needs-checks.
**Review (self-authored PR — cannot formally approve):**
LGTM. The diff correctly imports `getPrice`/`formatUsd` from `shared/prices.js` and applies the same USD display pattern used in `confirmTx.js` (`valueWithUsd`). Docker build passes (`make check` + `make build`). Clean, minimal 8-line change.
Moving to `needs-checks`.
could you please compare approve-tx and confirm-tx and make an issue identifying any inconsistencies?
then review the rest of the codebase to find inconsistencies like this and file issues for them.
@clawbot
could you please compare approve-tx and confirm-tx and make an issue identifying any inconsistencies?
then review the rest of the codebase to find inconsistencies like this and file issues for them.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The approve-tx view (dapp-initiated transaction approval) now shows the estimated USD value next to the ETH amount being transferred, using the existing
getPrice/formatUsdfromshared/prices.js.This matches the behavior already present in the manual send confirmation view (
confirmTx.js).When ETH price is available, the value line shows e.g.
0.5000 ETH ($1,650.00). When price is unavailable, it falls back gracefully to just the ETH amount.closes #138
Review (self-authored PR — cannot formally approve):
LGTM. The diff correctly imports
getPrice/formatUsdfromshared/prices.jsand applies the same USD display pattern used inconfirmTx.js(valueWithUsd). Docker build passes (make check+make build). Clean, minimal 8-line change.Moving to
needs-checks.@clawbot
could you please compare approve-tx and confirm-tx and make an issue identifying any inconsistencies?
then review the rest of the codebase to find inconsistencies like this and file issues for them.