@@ -38,7 +38,7 @@ type assemblerTest struct {
3838 genesisBlock * common.Block
3939 nodeConfig * config.AssemblerNodeConfig
4040 orderedBatchAttestationCreator * OrderedBatchAttestationCreator
41- expecedLedgerBA []core.OrderedBatchAttestation
41+ expectedLedgerBA []core.OrderedBatchAttestation
4242 assembler * assembler.Assembler
4343 shardToBatcherChan map [types.ShardID ]chan types.Batch
4444 consensusBAChan chan core.OrderedBatchAttestation
@@ -97,7 +97,7 @@ func setupAssemblerTest(t *testing.T, shards []types.ShardID, parties []types.Pa
9797 ledgerDir : t .TempDir (),
9898 genesisBlock : genesisBlock ,
9999 orderedBatchAttestationCreator : orderedBatchAttestationCreator ,
100- expecedLedgerBA : []core.OrderedBatchAttestation {},
100+ expectedLedgerBA : []core.OrderedBatchAttestation {},
101101 batchBringerMock : & assembler_mocks.FakeBatchBringer {},
102102 ledgerMock : & ledger_mocks.FakeAssemblerLedgerReaderWriter {},
103103 prefetcherMock : & assembler_mocks.FakePrefetcherController {},
@@ -147,7 +147,7 @@ func setupAssemblerTest(t *testing.T, shards []types.ShardID, parties []types.Pa
147147
148148func (at * assemblerTest ) SendBAToAssembler (oba core.OrderedBatchAttestation ) {
149149 at .consensusBAChan <- oba
150- at .expecedLedgerBA = append (at .expecedLedgerBA , oba )
150+ at .expectedLedgerBA = append (at .expectedLedgerBA , oba )
151151}
152152
153153func (at * assemblerTest ) SendBatchToAssembler (batch types.Batch ) {
0 commit comments