• Z
    test for invalid rlp encoding of block in BlocksMsg · 82da6bf4
    zelig 提交于
    - rename Validate -> ValidateFields not to confure consensus block validation
    - add nil transaction and nil uncle header validation
    - remove bigint field checks: rlp already decodes *big.Int to big.NewInt(0)
    - add test for nil header, nil transaction
    82da6bf4
block.go 9.6 KB