Skip to content

Commit

Permalink
Merge pull request ethereum#248 from stevenroose/rafthasnopending
Browse files Browse the repository at this point in the history
eth/api_backend.go: Remove unused raftHasNoPending
  • Loading branch information
patrickmn authored Jan 25, 2018
2 parents 1c16523 + 8b3f790 commit 393c63b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eth/api_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package eth

import (
"context"
"fmt"
"math/big"

"github.com/ethereum/go-ethereum/accounts"
Expand All @@ -37,8 +36,6 @@ import (
"github.com/ethereum/go-ethereum/rpc"
)

var raftHasNoPending = fmt.Errorf("Raft mode has no Pending block. Use latest instead.")

// EthApiBackend implements ethapi.Backend for full nodes
type EthApiBackend struct {
eth *Ethereum
Expand Down

0 comments on commit 393c63b

Please sign in to comment.