Skip to content

Commit fdcddae

Browse files
authored
Fixed typo in assembler_test file (#183)
Signed-off-by: Moran Abilea <mor2451@gmail.com>
1 parent ca67d97 commit fdcddae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

node/assembler/assembler_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

148148
func (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

153153
func (at *assemblerTest) SendBatchToAssembler(batch types.Batch) {

0 commit comments

Comments
 (0)