Self review.

This commit is contained in:
Arijit Das
2021-08-31 18:10:41 +05:30
parent d0c3241730
commit 71837c4b24
12 changed files with 109 additions and 121 deletions
+1 -2
View File
@@ -37,8 +37,7 @@ import (
// This function is eth/internal so we have to make our own version here...
func RPCMarshalHeader(head *types.Header, extractMiner bool) map[string]interface{} {
if extractMiner {
err := recoverMiner(head)
if err != nil {
if err := recoverMiner(head); err != nil {
return nil
}
}