Skip to content

Commit

Permalink
appease lint (eth-utils updated)
Browse files Browse the repository at this point in the history
  • Loading branch information
lithp committed Dec 10, 2019
1 parent 3bd386c commit 6392266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth/tools/_utils/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def normalize_to_address(value: AnyStr) -> Address:
return CREATE_CONTRACT_ADDRESS


robust_decode_hex = eth_utils.curried.hexstr_if_str(to_bytes) # type: ignore # https://github.com/ethereum/eth-utils/issues/156 # noqa: E501
robust_decode_hex = eth_utils.curried.hexstr_if_str(to_bytes)


#
Expand Down Expand Up @@ -247,7 +247,7 @@ def state_definition_to_dict(state_definition: GeneralState) -> AccountState:
"nonce": normalize_int,
"storage": normalize_storage
}, required=[])),
eth_utils.curried.apply_formatter_if( # type: ignore # https://github.com/ethereum/eth-utils/issues/156 # noqa: E501
eth_utils.curried.apply_formatter_if(
lambda s: isinstance(s, Iterable) and not isinstance(s, Mapping),
state_definition_to_dict
),
Expand Down

0 comments on commit 6392266

Please sign in to comment.