Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 committed Sep 28, 2024
1 parent 8fe6773 commit 9864eea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/taiko-client/proposer/transaction_builder/blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@ func (b *BlobTransactionBuilder) BuildOntake(

encodedParamsArray = append(encodedParamsArray, encodedParams)
}

txListArray := make([][]byte, len(encodedParamsArray))
if b.proverSetAddress != rpc.ZeroAddress {
data, err = encoding.ProverSetABI.Pack("proposeBlocksV2", encodedParamsArray, [][]byte{})
data, err = encoding.ProverSetABI.Pack("proposeBlocksV2", encodedParamsArray, txListArray)
if err != nil {
return nil, err
}
} else {
data, err = encoding.TaikoL1ABI.Pack("proposeBlocksV2", encodedParamsArray, [][]byte{})
data, err = encoding.TaikoL1ABI.Pack("proposeBlocksV2", encodedParamsArray, txListArray)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9864eea

Please sign in to comment.