kopia lustrzana https://github.com/bugout-dev/moonstream
Merge pull request #878 from moonstream-to/fix-validate-set-requests
Fixed validation of new call requests set not subscriptablepull/885/head
commit
c6b64cf5ba
|
@ -66,7 +66,6 @@ def validate_method_and_params(
|
||||||
Web3.toChecksumAddress(parameters["signer"])
|
Web3.toChecksumAddress(parameters["signer"])
|
||||||
except:
|
except:
|
||||||
raise InvalidAddressFormat("Parameter signer must be a valid address")
|
raise InvalidAddressFormat("Parameter signer must be a valid address")
|
||||||
required_params["amount"] = str(required_params["amount"])
|
|
||||||
else:
|
else:
|
||||||
raise ValueError(f"Unknown contract type {contract_type}")
|
raise ValueError(f"Unknown contract type {contract_type}")
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue