diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-18 20:38:47 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-18 20:38:47 +0800 |
commit | a59dd393e71cc52b1f96973aef884af619166f38 (patch) | |
tree | b52cfbbb41a9fffaaefa2bc8913f578480cff160 /core/transaction_pool.go | |
parent | b5b83db450974f70f4bc25f280cc6ec9193f8e19 (diff) | |
download | go-tangerine-a59dd393e71cc52b1f96973aef884af619166f38.tar go-tangerine-a59dd393e71cc52b1f96973aef884af619166f38.tar.gz go-tangerine-a59dd393e71cc52b1f96973aef884af619166f38.tar.bz2 go-tangerine-a59dd393e71cc52b1f96973aef884af619166f38.tar.lz go-tangerine-a59dd393e71cc52b1f96973aef884af619166f38.tar.xz 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.go | 2 |
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() |