Skip to content

Commit

Permalink
fix bad return type
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Oct 2, 2024
1 parent 952e82f commit ce6fa88
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions boa/contracts/vvm/vvm_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ def deploy_as_blueprint(self, env=None, blueprint_preamble=None, **kwargs):
if env is None:
env = Env.get_singleton()

address, computation = env.deploy_code(bytecode=self._blueprint_bytecode)
if computation.is_error:
raise computation.error
address, _ = env.deploy_code(bytecode=self._blueprint_bytecode)

ret = self._blueprint_deployer.at(address)
env.register_blueprint(self.bytecode, ret)
Expand Down

0 comments on commit ce6fa88

Please sign in to comment.