From 54b271a86dd748f3b0bcebeaf678dc34e0d6177a Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 22 Aug 2019 15:14:06 +0200 Subject: crypto: add SignatureLength constant and use it everywhere (#19996) Original change by @jpeletier --- miner/worker_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miner') diff --git a/miner/worker_test.go b/miner/worker_test.go index 7fa9a5f98..1604e988d 100644 --- a/miner/worker_test.go +++ b/miner/worker_test.go @@ -95,7 +95,7 @@ func newTestWorkerBackend(t *testing.T, chainConfig *params.ChainConfig, engine switch engine.(type) { case *clique.Clique: - gspec.ExtraData = make([]byte, 32+common.AddressLength+65) + gspec.ExtraData = make([]byte, 32+common.AddressLength+crypto.SignatureLength) copy(gspec.ExtraData[32:], testBankAddress[:]) case *ethash.Ethash: default: -- cgit v1.2.3