Merge pull request #248 from stevenroose/rafthasnopending

eth/api_backend.go: Remove unused raftHasNoPending
This commit is contained in:
Patrick Mylund Nielsen 2018-01-25 12:55:49 -05:00 committed by GitHub
commit 393c63b687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -18,7 +18,6 @@ package eth
import (
"context"
"fmt"
"math/big"
"github.com/ethereum/go-ethereum/accounts"
@ -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