diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-06-02 04:00:48 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-06-02 04:12:03 +0800 |
commit | 147a699c6543b1e4ec8c933f8aaff4e0639897b6 (patch) | |
tree | 68c4548d27cb053940ac8a3ef19043b57bae80ab /cmd/geth | |
parent | 5b14fdb94b61af9f17f53593766a706c9780a7be (diff) | |
download | dexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar dexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar.gz dexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar.bz2 dexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar.lz dexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar.xz dexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar.zst dexon-147a699c6543b1e4ec8c933f8aaff4e0639897b6.zip |
Add missing err checks on From() (skip RPC for now)
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/admin.go | 1 |
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)) } |