Skip to content

Commit

Permalink
fix : unhandled error
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-shin-wt committed May 29, 2024
1 parent 277407a commit 8f55544
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wemix/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -970,8 +970,7 @@ func getCoinbase(height *big.Int) (common.Address, error) {
} else if admin.nodeInfo != nil && admin.nodeInfo.ID == admin.bootNodeId {
return admin.bootAccount, nil
} else {
// TODO ???
return common.Address{}, nil
return common.Address{}, ethereum.NotFound
}
}

Expand Down

0 comments on commit 8f55544

Please sign in to comment.