Skip to content

Commit 0c4eb53

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

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
@@ -275,7 +275,7 @@ def writes_to_memory(self):
275275
@property
276276
def reads_from_memory(self):
277277
""" True if the instruction reads from memory """
278-
return self.semantics in ('MLOAD', 'CREATE', 'CALL', 'STATICCALL', 'DELEGATECALL', 'CALLCODE', 'RETURN', 'REVERT')
278+
return self.semantics in {'MLOAD', 'CREATE', 'CALL', 'STATICCALL', 'DELEGATECALL', 'CALLCODE', 'RETURN', 'REVERT'}
279279

280280
@property
281281
def writes_to_storage(self):

0 commit comments

Comments
 (0)