Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/account_info_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"
)

// The function checks the conversation methods on the AccountInfo struct. We check wether it is correctly converted to protobuf and back.
// The function checks the conversation methods on the AccountInfo struct. We check whether it is correctly converted to protobuf and back.
func TestUnitAccountInfoToBytes(t *testing.T) {
t.Parallel()

Expand Down
2 changes: 1 addition & 1 deletion sdk/assessed_custom_fee_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

// SPDX-License-Identifier: Apache-2.0

// The test checks the conversation methods on the AssessedCustomFee struct. We check wether it is correctly converted to protobuf and back.
// The test checks the conversation methods on the AssessedCustomFee struct. We check whether it is correctly converted to protobuf and back.
func TestUnitassessedCustomFee(t *testing.T) {
t.Parallel()
assessedFeeOriginal := _MockAssessedCustomFee()
Expand Down
2 changes: 1 addition & 1 deletion sdk/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ func (pk PublicKey) _ToSignaturePairProtobuf(signature []byte) *services.Signatu
return &services.SignaturePair{}
}

// SignTransaction signes the transaction and adds the signature to the transaction
// SignTransaction signs the transaction and adds the signature to the transaction
func (sk PrivateKey) SignTransaction(tx TransactionInterface) ([]byte, error) {
baseTx := tx.getBaseTransaction()

Expand Down
2 changes: 1 addition & 1 deletion sdk/ecdsa_private_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (sk _ECDSAPrivateKey) _ToProtoKey() *services.Key {
return sk._PublicKey()._ToProtoKey()
}

// _SignTransaction signes the transaction and adds the signature to the transaction
// _SignTransaction signs the transaction and adds the signature to the transaction
func (sk _ECDSAPrivateKey) _SignTransaction(tx *Transaction[TransactionInterface]) ([]byte, error) {
tx._RequireOneNodeAccountID()

Expand Down
2 changes: 1 addition & 1 deletion sdk/topic_message_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func (query *TopicMessageQuery) Subscribe(client *Client, onNext func(TopicMessa
if grpcErr, ok := status.FromError(streamResult.err); ok {
query.errorHandler(*grpcErr)
} else {
query.errorHandler(*status.New(codes.Unknown, "Unknown error ocurred"))
query.errorHandler(*status.New(codes.Unknown, "Unknown error occurred"))
}
return
}
Expand Down
2 changes: 1 addition & 1 deletion tck/methods/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type AccountService struct {
// Variable to be set to `SetGrpcDeadline` for all transactions
var threeSecondsDuration = time.Second * 3

// SetSdkService We set object, which is holding our client param. Pass it by referance, because TCK is dynamically updating it
// SetSdkService We set object, which is holding our client param. Pass it by reference, because TCK is dynamically updating it
func (a *AccountService) SetSdkService(service *SDKService) {
a.sdkService = service
}
Expand Down
Loading