diff --git a/clients/iota-go/iotaclient/iotaclienttest/api_transaction_builder_test.go b/clients/iota-go/iotaclient/iotaclienttest/api_transaction_builder_test.go index a68dafd8ae..ba213f6626 100644 --- a/clients/iota-go/iotaclient/iotaclienttest/api_transaction_builder_test.go +++ b/clients/iota-go/iotaclient/iotaclienttest/api_transaction_builder_test.go @@ -296,7 +296,7 @@ func TestPayIota(t *testing.T) { require.Empty(t, simulate.Effects.Data.V1.Status.Error) require.True(t, simulate.Effects.Data.IsSuccess()) - // 3 stands for the three amounts (3 crated IOTA objects) in unsafe_payIota API + // 3 stands for the three amounts (3 created IOTA objects) in unsafe_payIota API amountNum := uint(3) require.Len(t, simulate.ObjectChanges, int(limit)+int(amountNum)) delObjNum := uint(0) diff --git a/clients/iota-go/iotago/object.go b/clients/iota-go/iotago/object.go index b59d975fda..daa529a24b 100644 --- a/clients/iota-go/iotago/object.go +++ b/clients/iota-go/iotago/object.go @@ -52,7 +52,7 @@ type Object struct { } // ObjectType is the representation of a Iota object type, e.g. `0x000...0002::iota::IOTA` -// Two instances of ObjectType are equal iif they represent the same type. +// Two instances of ObjectType are equal if they represent the same type. type ObjectType struct { // struct to enforce using the constructor functions s string } diff --git a/clients/iotagraphql/iotaclienttest/api_transaction_builder_test.go b/clients/iotagraphql/iotaclienttest/api_transaction_builder_test.go index 31b645fc96..e123949b2a 100644 --- a/clients/iotagraphql/iotaclienttest/api_transaction_builder_test.go +++ b/clients/iotagraphql/iotaclienttest/api_transaction_builder_test.go @@ -298,7 +298,7 @@ func TestPayIota(t *testing.T) { require.Empty(t, simulate.Effects.Data.V1.Status.Error) require.True(t, simulate.Effects.Data.IsSuccess()) - // 3 stands for the three amounts (3 crated IOTA objects) in unsafe_payIota API + // 3 stands for the three amounts (3 created IOTA objects) in unsafe_payIota API amountNum := uint(3) require.Len(t, simulate.ObjectChanges, limit+int(amountNum)) delObjNum := uint(0) diff --git a/packages/coin/coin.go b/packages/coin/coin.go index 2403a4c7d6..8377c88710 100644 --- a/packages/coin/coin.go +++ b/packages/coin/coin.go @@ -61,7 +61,7 @@ func IsBaseToken(t string) (bool, error) { } // Type is the representation of a Iota coin type, e.g. `0x000...0002::iota::IOTA` -// Two instances of Type are equal iif they represent the same coin type. +// Two instances of Type are equal if they represent the same coin type. type Type = iotago.ObjectType func TypeFromString(s string) (Type, error) { diff --git a/packages/vm/vmtask.go b/packages/vm/vmtask.go index 426ac3aa79..7bf018299f 100644 --- a/packages/vm/vmtask.go +++ b/packages/vm/vmtask.go @@ -24,7 +24,7 @@ import ( type VMTask struct { Processors *processors.Config Anchor *isc.StateAnchor - // GasCoin is allowed to be nil iif EstimateGasMode == true || EVMTracer != nil, + // GasCoin is allowed to be nil if EstimateGasMode == true || EVMTracer != nil, // in which case no PTB will be produced. GasCoin *coin.CoinWithRef Store state.Store