diff options
author | Felix Lange <fjl@twurst.com> | 2019-08-22 21:14:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-22 21:14:06 +0800 |
commit | 54b271a86dd748f3b0bcebeaf678dc34e0d6177a (patch) | |
tree | 0a24f87f9dde9144b956a6adc54ba72c18f5ccd3 /miner | |
parent | b90cdbaa79cfe438aab0f1389d35980f3d38ec84 (diff) | |
download | go-tangerine-54b271a86dd748f3b0bcebeaf678dc34e0d6177a.tar go-tangerine-54b271a86dd748f3b0bcebeaf678dc34e0d6177a.tar.gz go-tangerine-54b271a86dd748f3b0bcebeaf678dc34e0d6177a.tar.bz2 go-tangerine-54b271a86dd748f3b0bcebeaf678dc34e0d6177a.tar.lz go-tangerine-54b271a86dd748f3b0bcebeaf678dc34e0d6177a.tar.xz go-tangerine-54b271a86dd748f3b0bcebeaf678dc34e0d6177a.tar.zst go-tangerine-54b271a86dd748f3b0bcebeaf678dc34e0d6177a.zip |
crypto: add SignatureLength constant and use it everywhere (#19996)
Original change by @jpeletier
Diffstat (limited to 'miner')
-rw-r--r-- | miner/worker_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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: |