aboutsummaryrefslogtreecommitdiffstats
path: root/core/transaction_pool.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-18 20:38:47 +0800
committerFelix Lange <fjl@twurst.com>2015-03-18 20:38:47 +0800
commita59dd393e71cc52b1f96973aef884af619166f38 (patch)
treeb52cfbbb41a9fffaaefa2bc8913f578480cff160 /core/transaction_pool.go
parentb5b83db450974f70f4bc25f280cc6ec9193f8e19 (diff)
downloadgo-tangerine-a59dd393e71cc52b1f96973aef884af619166f38.tar.gz
go-tangerine-a59dd393e71cc52b1f96973aef884af619166f38.tar.zst
go-tangerine-a59dd393e71cc52b1f96973aef884af619166f38.zip
core: fix tests
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 7c50e5e53..f2fe5c748 100644
--- a/core/transaction_pool.go
+++ b/core/transaction_pool.go
@@ -63,7 +63,7 @@ func NewTxPool(eventMux *event.TypeMux) *TxPool {
func (pool *TxPool) ValidateTransaction(tx *types.Transaction) error {
// Validate sender
if _, err := tx.From(); err != nil {
- return err
+ return ErrInvalidSender
}
// Validate curve param
v, _, _ := tx.Curve()