Skip to content

Commit

Permalink
Fix address string
Browse files Browse the repository at this point in the history
  • Loading branch information
starsquidnodes committed Mar 6, 2024
1 parent 81560da commit fa5a091
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prepare/contracts/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _set_wallet_address(self):

result = subprocess.run(command, capture_output=True, text=True)

address = result.stdout
address = result.stdout.strip()
if not address:
error("couldn't get address", wallet=self.wallet)

Expand Down Expand Up @@ -335,6 +335,7 @@ def handle_contract(self, definition):
}

rendered = template.render(**params)

contract = Contract(json.loads(rendered))

# generate address
Expand Down

0 comments on commit fa5a091

Please sign in to comment.