aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/admin.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-06-02 04:00:48 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-06-02 04:12:03 +0800
commit147a699c6543b1e4ec8c933f8aaff4e0639897b6 (patch)
tree68c4548d27cb053940ac8a3ef19043b57bae80ab /cmd/geth/admin.go
parent5b14fdb94b61af9f17f53593766a706c9780a7be (diff)
downloaddexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar.gz
dexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar.zst
dexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.zip
Add missing err checks on From() (skip RPC for now)
Diffstat (limited to 'cmd/geth/admin.go')
-rw-r--r--cmd/geth/admin.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/geth/admin.go b/cmd/geth/admin.go
index f0be444c6..01de97ac2 100644
--- a/cmd/geth/admin.go
+++ b/cmd/geth/admin.go
@@ -160,7 +160,6 @@ func (js *jsre) pendingTransactions(call otto.FunctionCall) otto.Value {
//ltxs := make([]*tx, len(txs))
var ltxs []*tx
for _, tx := range txs {
- // no need to check err
if from, _ := tx.From(); accountSet.Has(from) {
ltxs = append(ltxs, newTx(tx))
}