Browse Source

use block.Txs

wb/txrset
William Banfield 3 years ago
parent
commit
232b38100b
No known key found for this signature in database GPG Key ID: EFAD3442BF29E3AC
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/state/execution.go

+ 1
- 1
internal/state/execution.go View File

@ -141,7 +141,7 @@ func (blockExec *BlockExecutor) CreateProposalBlock(
panic(err) panic(err)
} }
if err := rpp.Validate(maxDataBytes, txs.ToSliceOfBytes()); err != nil {
if err := rpp.Validate(maxDataBytes, block.Txs.ToSliceOfBytes()); err != nil {
return nil, err return nil, err
} }


Loading…
Cancel
Save