From 232b38100bfc27d78ea9b9d4096e66ae7ef302ef Mon Sep 17 00:00:00 2001 From: William Banfield Date: Fri, 11 Mar 2022 13:04:39 -0500 Subject: [PATCH] use block.Txs --- internal/state/execution.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/state/execution.go b/internal/state/execution.go index 04a199170..c1ecc3602 100644 --- a/internal/state/execution.go +++ b/internal/state/execution.go @@ -141,7 +141,7 @@ func (blockExec *BlockExecutor) CreateProposalBlock( panic(err) } - if err := rpp.Validate(maxDataBytes, txs.ToSliceOfBytes()); err != nil { + if err := rpp.Validate(maxDataBytes, block.Txs.ToSliceOfBytes()); err != nil { return nil, err }