aboutsummaryrefslogtreecommitdiffstats
path: root/core/transaction_pool.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 /core/transaction_pool.go
parent5b14fdb94b61af9f17f53593766a706c9780a7be (diff)
downloadgo-tangerine-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar.gz
go-tangerine-147a699c6543b1e4ec8c933f8aaff4e0639897b6.tar.zst
go-tangerine-147a699c6543b1e4ec8c933f8aaff4e0639897b6.zip
Add missing err checks on From() (skip RPC for now)
Diffstat (limited to 'core/transaction_pool.go')
-rw-r--r--core/transaction_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/transaction_pool.go b/core/transaction_pool.go
index c896488d1..83ea82ca7 100644
--- a/core/transaction_pool.go
+++ b/core/transaction_pool.go
@@ -277,7 +277,7 @@ func (pool *TxPool) Stop() {
}
func (self *TxPool) queueTx(tx *types.Transaction) {
- from, _ := tx.From()
+ from, _ := tx.From() // already validated
self.queue[from] = append(self.queue[from], tx)
}