Skip to content

Commit e533fad

Browse files
feliamdisconnect3d
andauthored
Update pyevmasm/evmasm.py
Co-Authored-By: Disconnect3d <dominik.b.czarnota@gmail.com>
1 parent 812afee commit e533fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyevmasm/evmasm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def writes_to_stack(self):
270270
@property
271271
def writes_to_memory(self):
272272
""" True if the instruction writes to memory """
273-
return self.semantics in ('MSTORE', 'MSTORE8', 'CALLDATACOPY', 'CODECOPY', 'EXTCODECOPY', 'RETURNDATACOPY', 'CALL', 'STATICCALL', 'DELEGATECALL', 'CALLCODE')
273+
return self.semantics in {'MSTORE', 'MSTORE8', 'CALLDATACOPY', 'CODECOPY', 'EXTCODECOPY', 'RETURNDATACOPY', 'CALL', 'STATICCALL', 'DELEGATECALL', 'CALLCODE'}
274274

275275
@property
276276
def reads_from_memory(self):

0 commit comments

Comments
 (0)