Skip to content

Remove isActive from the StorkNode and StorkContract structs #19

@shankars99

Description

@shankars99

bool isActive is not needed

Incase of a StorkNode if the node misbehaves

  1. storkNodes[_storkNodeAddr].stakeValue can be set to 0
  2. storkNodes[_storkNodeAddr].stakeEndTime can be set to block.timestamp

As a StorkContract can't misbehave

  1. just set storkContracts[_storkContractAddr].txCount can be set to 0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions