mirror of
https://github.com/FlipsideCrypto/web3.py.git
synced 2026-02-06 10:56:47 +00:00
fix error message when instantiating contract
This commit is contained in:
parent
d797a5769e
commit
cbfc4c504c
@ -200,7 +200,7 @@ class Contract(object):
|
||||
raise AttributeError(
|
||||
"Property {0} not found on contract class. "
|
||||
"`Contract.factory` only accepts keyword arguments which are "
|
||||
"present on the contract class"
|
||||
"present on the contract class".format(key)
|
||||
)
|
||||
return type(contract_name, (cls,), kwargs)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user