mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
Fix extra delegatecall value log
This commit is contained in:
parent
23ef9c6ca8
commit
6da92026f7
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ func (t *tracer) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, scope *
|
|||
func (t *tracer) CaptureEnter(typ vm.OpCode, from common.Address, to common.Address, input []byte, gas uint64, value *big.Int) {
|
||||
t.logs = append(t.logs, make([]*types.Log, 0))
|
||||
toCopy := to
|
||||
if value != nil && value.Cmp(common.Big0) > 0 {
|
||||
if typ != vm.DELEGATECALL && value != nil && value.Cmp(common.Big0) > 0 {
|
||||
t.captureTransfer(from, toCopy, value)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue