diff --git a/packages/arb-validator-core/go.mod b/packages/arb-validator-core/go.mod index 112c1ce25f..528aa458fa 100644 --- a/packages/arb-validator-core/go.mod +++ b/packages/arb-validator-core/go.mod @@ -9,6 +9,7 @@ require ( github.com/gorilla/mux v1.7.4 github.com/offchainlabs/arbitrum/packages/arb-util v0.6.4 github.com/pkg/errors v0.9.1 + github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4 golang.org/x/crypto v0.0.0-20200311171314-f7b00557c8c4 google.golang.org/protobuf v1.24.0 ) diff --git a/packages/arb-validator-core/message/transactionBatch.go b/packages/arb-validator-core/message/transactionBatch.go index 1e933d41bd..c85e6d4077 100644 --- a/packages/arb-validator-core/message/transactionBatch.go +++ b/packages/arb-validator-core/message/transactionBatch.go @@ -141,6 +141,7 @@ func (m TransactionBatch) getBatchTransactions() []BatchTx { break } txes = append(txes, batch) + offset += batch.encodedLength() } return txes }