diff options
Diffstat (limited to 'miner/miner.go')
-rw-r--r-- | miner/miner.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/miner.go b/miner/miner.go index 83059f4b1..61cd3e049 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -171,7 +171,7 @@ func (self *Miner) HashRate() (tot int64) { } func (self *Miner) SetExtra(extra []byte) error { - if uint64(len(extra)) > params.MaximumExtraDataSize { + if uint64(len(extra)) > params.MaximumExtraDataSize.Uint64() { return fmt.Errorf("Extra exceeds max length. %d > %v", len(extra), params.MaximumExtraDataSize) } self.worker.setExtra(extra) |