Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouop0 committed Apr 30, 2024
1 parent f7b8517 commit 16e2436
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions internal/handler/op_committer_stateroot.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func GetStateRootAndCommitStateRootProposal(ctx *svc.ServiceContext) {
continue
}

//nolint: dupl
if lastProposal.Status == schema.ProposalVotingStatus || lastProposal.Status == schema.ProposalTimeoutStatus {
time.Sleep(30 * time.Second)
// check address voted or not
Expand Down Expand Up @@ -181,7 +180,6 @@ func GetStateRootAndCommitStateRootProposal(ctx *svc.ServiceContext) {
log.Infof("[Handler.GetStateRootAndCommitStateRootProposal] success verify and vote submit output from ds: %s, dsHash: %s", lastProposal.ProposalID, lastProposal.DsTxHash)
time.Sleep(30 * time.Second)
}

}

if lastProposal.Status == schema.ProposalCommitting {
Expand Down
1 change: 0 additions & 1 deletion internal/handler/op_committer_txs.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func GetBlobsAndCommitTxsProposal(ctx *svc.ServiceContext) {
continue
}

//nolint: dupl
if lastProposal.Status == schema.ProposalVotingStatus || lastProposal.Status == schema.ProposalTimeoutStatus {
// check address voted or not
phase, err := ctx.OpCommitterClient.ProposalManager.IsVotedOnTxsRootProposalPhase(&bind.CallOpts{}, lastProposal.ProposalID, common.HexToAddress(voteAddress))
Expand Down

0 comments on commit 16e2436

Please sign in to comment.