diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-12-19 18:23:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-19 18:23:46 +0800 |
commit | 7b623aab9dcb855a04737f2eb3c5004f8a53346a (patch) | |
tree | 6524a0fffdec287dddbab84e4dcf3a1a298c4e85 /core/tx_pool_test.go | |
parent | e871ae12709c77c304a9633c0fd498972cf00603 (diff) | |
parent | c44830ebf316bf22104d01aa114d2b6d765d7a76 (diff) | |
download | go-tangerine-7b623aab9dcb855a04737f2eb3c5004f8a53346a.tar.gz go-tangerine-7b623aab9dcb855a04737f2eb3c5004f8a53346a.tar.zst go-tangerine-7b623aab9dcb855a04737f2eb3c5004f8a53346a.zip |
Merge pull request #3454 from karalabe/allow-zeroprice-tx
core: allow zero priced transactions from inexistent accounts too
Diffstat (limited to 'core/tx_pool_test.go')
-rw-r--r-- | core/tx_pool_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go index 3e516735b..f5fcac19f 100644 --- a/core/tx_pool_test.go +++ b/core/tx_pool_test.go @@ -129,10 +129,6 @@ func TestInvalidTransactions(t *testing.T) { pool, key := setupTxPool() tx := transaction(0, big.NewInt(100), key) - if err := pool.Add(tx); err != ErrNonExistentAccount { - t.Error("expected", ErrNonExistentAccount) - } - from, _ := deriveSender(tx) currentState, _ := pool.currentState() currentState.AddBalance(from, big.NewInt(1)) |