mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-16 20:01:37 +00:00
plan: fix gas price and show gas price in summary
Co-authored-by: drQedwards <213266729+drQedwards@users.noreply.github.com>
This commit is contained in:
parent
9ed063f56e
commit
53ff818308
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ func run(args []string, stdin io.Reader) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("invalid hex data: %w", err)
|
return fmt.Errorf("invalid hex data: %w", err)
|
||||||
}
|
}
|
||||||
|
// Normalize to 0x-prefixed form for consistent output.
|
||||||
|
txHex = "0x" + hex.EncodeToString(rawTx)
|
||||||
|
|
||||||
// Decode the transaction so we can display a summary.
|
// Decode the transaction so we can display a summary.
|
||||||
var tx types.Transaction
|
var tx types.Transaction
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue