mirror of https://github.com/nucypher/nucypher.git
Cast constant_sorrow constant to int
parent
67df78fcbc
commit
d84014a35f
|
@ -55,7 +55,7 @@ def test_deploy_ethereum_contracts(testerchain):
|
|||
|
||||
token_agent = NucypherTokenAgent(blockchain=testerchain)
|
||||
|
||||
miners_escrow_secret = os.urandom(constants.DISPATCHER_SECRET_LENGTH)
|
||||
miners_escrow_secret = os.urandom(int(constants.DISPATCHER_SECRET_LENGTH))
|
||||
miner_escrow_deployer = MinerEscrowDeployer(
|
||||
token_agent=token_agent,
|
||||
deployer_address=origin,
|
||||
|
@ -65,7 +65,7 @@ def test_deploy_ethereum_contracts(testerchain):
|
|||
|
||||
miner_agent = MinerAgent(token_agent=token_agent)
|
||||
|
||||
policy_manager_secret = os.urandom(constants.DISPATCHER_SECRET_LENGTH)
|
||||
policy_manager_secret = os.urandom(int(constants.DISPATCHER_SECRET_LENGTH))
|
||||
policy_manager_deployer = PolicyManagerDeployer(
|
||||
miner_agent=miner_agent,
|
||||
deployer_address=origin,
|
||||
|
|
Loading…
Reference in New Issue