aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-04-10 16:43:01 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-04-10 16:43:01 +0800
commitbfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4 (patch)
tree724676c86df67ae523cbfda2600e7ba466b2955d /eth/protocol_test.go
parentf32b72ca5d7c477e5f5d3ab0d5b6548bf3fdc139 (diff)
downloadgo-tangerine-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.tar
go-tangerine-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.tar.gz
go-tangerine-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.tar.bz2
go-tangerine-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.tar.lz
go-tangerine-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.tar.xz
go-tangerine-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.tar.zst
go-tangerine-bfe5eb7f8c05c49563b0f1165f98d0a18f0fdbd4.zip
eth: accept transactions when starting CPU mining (#13882)
Diffstat (limited to 'eth/protocol_test.go')
-rw-r--r--eth/protocol_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/protocol_test.go b/eth/protocol_test.go
index 253dcd8a7..3c9a734df 100644
--- a/eth/protocol_test.go
+++ b/eth/protocol_test.go
@@ -94,7 +94,7 @@ func TestRecvTransactions63(t *testing.T) { testRecvTransactions(t, 63) }
func testRecvTransactions(t *testing.T, protocol int) {
txAdded := make(chan []*types.Transaction)
pm := newTestProtocolManagerMust(t, false, 0, nil, txAdded)
- pm.synced = 1 // mark synced to accept transactions
+ pm.acceptTxs = 1 // mark synced to accept transactions
p, _ := newTestPeer("peer", protocol, pm, true)
defer pm.Stop()
defer p.close()