mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 20:46:40 +00:00
remove TODO that is no longer relevant
This commit is contained in:
parent
158e44a531
commit
54d9e4ff40
1 changed files with 0 additions and 2 deletions
|
|
@ -258,8 +258,6 @@ func makeSelfdestructGasFn(refundsEnabled bool) gasFunc {
|
||||||
gas uint64
|
gas uint64
|
||||||
address = common.Address(stack.peek().Bytes20())
|
address = common.Address(stack.peek().Bytes20())
|
||||||
)
|
)
|
||||||
// TODO: EEST test that performs selfdestruct within a static context. no reads should be reported
|
|
||||||
// This is probably covered in the converted blockchain tests but need to double-check
|
|
||||||
if evm.readOnly {
|
if evm.readOnly {
|
||||||
return 0, ErrWriteProtection
|
return 0, ErrWriteProtection
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue