Skip to content

Commit

Permalink
remove duplicat check err (#3701)
Browse files Browse the repository at this point in the history
  • Loading branch information
huof6829 committed Dec 1, 2022
1 parent 56f93a0 commit cb6f6df
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions action/protocol/rewarding/reward.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ func (p *Protocol) GrantBlockReward(
if err := p.updateAvailableBalance(ctx, sm, a.blockReward); err != nil {
return nil, err
}
if err != nil {
return nil, err
}
if err := p.grantToAccount(ctx, sm, rewardAddr, a.blockReward); err != nil {
return nil, err
}
Expand Down

0 comments on commit cb6f6df

Please sign in to comment.