Skip to content

Commit

Permalink
fix: use the correct key to the db
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamantios committed Nov 15, 2023
1 parent 73ec3ac commit 5345671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/valory/skills/staking_abci/rounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def tx_submitter(self) -> str:
@property
def is_service_staked(self) -> bool:
"""Whether the service is staked or not."""
return bool(self.db.get("is_staked", False))
return bool(self.db.get("is_service_staked", False))

@property
def participant_to_checkpoint(self) -> DeserializedCollection:
Expand Down

0 comments on commit 5345671

Please sign in to comment.