mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
Merge ce116681c5 into b1fac4270d
This commit is contained in:
commit
03c77d1332
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ func (self *minerApi) SetExtra(req *shared.Request) (interface{}, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if uint64(len(args.Data)) > params.MaximumExtraDataSize.Uint64()*2 {
|
if uint64(len(args.Data)) > params.MaximumExtraDataSize.Uint64() {
|
||||||
return false, fmt.Errorf("extra datasize can be no longer than %v bytes", params.MaximumExtraDataSize)
|
return false, fmt.Errorf("extra datasize can be no longer than %v bytes", params.MaximumExtraDataSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue