diff --git a/services/horizon/internal/integration/transaction_preconditions_test.go b/services/horizon/internal/integration/transaction_preconditions_test.go index 79e0cb7271..e3aff9e0da 100644 --- a/services/horizon/internal/integration/transaction_preconditions_test.go +++ b/services/horizon/internal/integration/transaction_preconditions_test.go @@ -218,7 +218,7 @@ func TestTransactionPreconditionsMinSequenceNumberLedgerGap(t *testing.T) { txParams := buildTXParams(master, masterAccount, currentAccountSeq+1) // this txsub will error because the tx preconditions require a min sequence gap - // which has been set 10000 sequnce numbers greater than the current difference between + // which has been set 10000 sequence numbers greater than the current difference between // network ledger sequence and account sequnece numbers txParams.Preconditions.MinSequenceNumberLedgerGap = uint32(int64(networkLedger) - currentAccountSeq + 10000) _, err = itest.SubmitMultiSigTransaction([]*keypair.Full{master}, txParams) diff --git a/services/horizon/internal/txsub/system_test.go b/services/horizon/internal/txsub/system_test.go index e6bffc5987..a021e7fc44 100644 --- a/services/horizon/internal/txsub/system_test.go +++ b/services/horizon/internal/txsub/system_test.go @@ -146,7 +146,7 @@ func (suite *SystemTestSuite) TestSubmit_Basic() { assert.False(suite.T(), suite.submitter.WasSubmittedTo) } -func (suite *SystemTestSuite) TestTimeoutDuringSequnceLoop() { +func (suite *SystemTestSuite) TestTimeoutDuringSequenceLoop() { var cancel context.CancelFunc suite.ctx, cancel = context.WithTimeout(suite.ctx, time.Duration(0)) defer cancel() @@ -176,7 +176,7 @@ func (suite *SystemTestSuite) TestTimeoutDuringSequnceLoop() { assert.Equal(suite.T(), ErrTimeout, r.Err) } -func (suite *SystemTestSuite) TestClientDisconnectedDuringSequnceLoop() { +func (suite *SystemTestSuite) TestClientDisconnectedDuringSequenceLoop() { var cancel context.CancelFunc suite.ctx, cancel = context.WithCancel(suite.ctx) @@ -194,7 +194,7 @@ func (suite *SystemTestSuite) TestClientDisconnectedDuringSequnceLoop() { suite.db.On("GetSequenceNumbers", suite.ctx, []string{suite.unmuxedSource.Address()}). Return(map[string]uint64{suite.unmuxedSource.Address(): 0}, nil). Run(func(args mock.Arguments) { - // simulate client disconnecting while looping on sequnce number check + // simulate client disconnecting while looping on sequence number check cancel() suite.ctx.Deadline() }).