mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
eth: fixed formatting
applied gofmt -s
This commit is contained in:
parent
d9750af79e
commit
ba880a7c04
4 changed files with 26 additions and 6 deletions
22
.vscode/launch.json
vendored
Normal file
22
.vscode/launch.json
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"remotePath": "",
|
||||
"port": 2345,
|
||||
"host": "127.0.0.1",
|
||||
"program": "${fileDirname}",
|
||||
"env": {},
|
||||
"args": ["attach","--exec=debug.traceTransaction('0xb44ab4e708611c6cd2125bdedc013e922e876a6e1d45750541f258b14ae57c48')"],
|
||||
//"args": ["--rinkeby","--datadir=j:\\rinkeby","--verbosity=0","console"],
|
||||
"showLog": true
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
cmd/geth/debug
Normal file
BIN
cmd/geth/debug
Normal file
Binary file not shown.
|
|
@ -503,7 +503,6 @@ func (api *PrivateDebugAPI) TraceTransaction(ctx context.Context, txHash common.
|
|||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
// Handle timeouts and RPC cancellations
|
||||
deadlineCtx, cancel := context.WithTimeout(ctx, timeout)
|
||||
go func() {
|
||||
|
|
@ -532,7 +531,6 @@ func (api *PrivateDebugAPI) TraceTransaction(ctx context.Context, txHash common.
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// Run the transaction with tracing enabled.
|
||||
vmenv := vm.NewEVM(context, statedb, api.config, vm.Config{Debug: true, Tracer: tracer})
|
||||
ret, gas, failed, err := core.ApplyMessage(vmenv, msg, new(core.GasPool).AddGas(tx.Gas()))
|
||||
|
|
|
|||
BIN
geth.exe
Normal file
BIN
geth.exe
Normal file
Binary file not shown.
Loading…
Reference in a new issue