aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-29 17:13:28 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-30 17:20:31 +0800
commit6fdddc5ac940b6241596e0a2622461148e8a57a0 (patch)
tree758e4f831c4959131fc4345bcddfcbd0bc12c128 /rpc/api/eth.go
parent02c6af66bfd04f5eb2e2d48a85615e93ea9c9ddc (diff)
downloadgo-tangerine-6fdddc5ac940b6241596e0a2622461148e8a57a0.tar
go-tangerine-6fdddc5ac940b6241596e0a2622461148e8a57a0.tar.gz
go-tangerine-6fdddc5ac940b6241596e0a2622461148e8a57a0.tar.bz2
go-tangerine-6fdddc5ac940b6241596e0a2622461148e8a57a0.tar.lz
go-tangerine-6fdddc5ac940b6241596e0a2622461148e8a57a0.tar.xz
go-tangerine-6fdddc5ac940b6241596e0a2622461148e8a57a0.tar.zst
go-tangerine-6fdddc5ac940b6241596e0a2622461148e8a57a0.zip
improved error handling in parsing request
Diffstat (limited to 'rpc/api/eth.go')
-rw-r--r--rpc/api/eth.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/api/eth.go b/rpc/api/eth.go
index 1883e363c..8e9647861 100644
--- a/rpc/api/eth.go
+++ b/rpc/api/eth.go
@@ -12,6 +12,7 @@ import (
"github.com/ethereum/go-ethereum/rpc/shared"
"github.com/ethereum/go-ethereum/xeth"
"gopkg.in/fatih/set.v0"
+ "fmt"
)
const (
@@ -574,7 +575,7 @@ func (self *ethApi) Resend(req *shared.Request) (interface{}, error) {
func (self *ethApi) PendingTransactions(req *shared.Request) (interface{}, error) {
txs := self.ethereum.TxPool().GetTransactions()
- // grab the accounts from the account manager. This will help with determening which
+ // grab the accounts from the account manager. This will help with determining which
// transactions should be returned.
accounts, err := self.ethereum.AccountManager().Accounts()
if err != nil {