mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
fix(tracers/native): set CreationMethod
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
351e01ff58
commit
1a96310526
1 changed files with 5 additions and 4 deletions
|
|
@ -296,10 +296,11 @@ func newFlatCreate(input *callFrame) *flatCallFrame {
|
||||||
return &flatCallFrame{
|
return &flatCallFrame{
|
||||||
Type: strings.ToLower(vm.CREATE.String()),
|
Type: strings.ToLower(vm.CREATE.String()),
|
||||||
Action: flatCallAction{
|
Action: flatCallAction{
|
||||||
From: &input.From,
|
CreationMethod: strings.ToLower(vm.OpCode(input.Type).String()),
|
||||||
Gas: &input.Gas,
|
From: &input.From,
|
||||||
Value: input.Value,
|
Gas: &input.Gas,
|
||||||
Init: &actionInit,
|
Value: input.Value,
|
||||||
|
Init: &actionInit,
|
||||||
},
|
},
|
||||||
Result: &flatCallResult{
|
Result: &flatCallResult{
|
||||||
GasUsed: &input.GasUsed,
|
GasUsed: &input.GasUsed,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue