Skip to content

Commit

Permalink
fix: Remove post construct annotation which breaks node startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zurcusa committed Jan 15, 2025
1 parent ed33aea commit f707932
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/com/limechain/grandpa/state/RoundState.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import com.limechain.storage.KVRepository;
import com.limechain.storage.StateUtil;
import io.libp2p.core.crypto.PubKey;
import jakarta.annotation.PostConstruct;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
Expand Down Expand Up @@ -43,8 +42,6 @@ public class RoundState {
private Map<PubKey, SignedVote> pvEquivocations = new ConcurrentHashMap<>();
private Map<PubKey, SignedVote> pcEquivocations = new ConcurrentHashMap<>();


@PostConstruct
public void initialize() {
loadPersistedState();
}
Expand Down

0 comments on commit f707932

Please sign in to comment.