Skip to content

Commit 3824b17

Browse files
committed
chore: fix some inconsistent function name in comment
Signed-off-by: joemicky <joemickychang@outlook.com>
1 parent bbbc188 commit 3824b17

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

sdk/transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,7 +1131,7 @@ func (tx *Transaction[T]) GetTransactionBodySize() (int, error) {
11311131
return len(txBytes), nil
11321132
}
11331133

1134-
// GetBodySizeAllChunks returns the total size of the transaction, for all chunks.
1134+
// GetTransactionBodySizeAllChunks returns the total size of the transaction, for all chunks.
11351135
func (tx *Transaction[T]) GetTransactionBodySizeAllChunks() ([]int, error) {
11361136
if !tx.IsFrozen() {
11371137
return nil, errTransactionIsNotFrozen

tck/methods/file.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func (t *FileService) SetSdkService(service *SDKService) {
2121
t.sdkService = service
2222
}
2323

24-
// createFile jRPC method for createFile
24+
// CreateFile jRPC method for createFile
2525
func (t *FileService) CreateFile(_ context.Context, params param.CreateFileParams) (*response.FileResponse, error) {
2626
transaction := hiero.NewFileCreateTransaction().SetGrpcDeadline(&threeSecondsDuration)
2727

@@ -75,7 +75,7 @@ func (t *FileService) CreateFile(_ context.Context, params param.CreateFileParam
7575
}, nil
7676
}
7777

78-
// updateFile jRPC method for updateFile
78+
// UpdateFile jRPC method for updateFile
7979
func (t *FileService) UpdateFile(_ context.Context, params param.UpdateFileParams) (*response.FileResponse, error) {
8080
transaction := hiero.NewFileUpdateTransaction().SetGrpcDeadline(&threeSecondsDuration)
8181

@@ -136,7 +136,7 @@ func (t *FileService) UpdateFile(_ context.Context, params param.UpdateFileParam
136136
}, nil
137137
}
138138

139-
// deleteFile jRPC method for deleteFile
139+
// DeleteFile jRPC method for deleteFile
140140
func (t *FileService) DeleteFile(_ context.Context, params param.UpdateFileParams) (*response.FileResponse, error) {
141141
transaction := hiero.NewFileDeleteTransaction().SetGrpcDeadline(&threeSecondsDuration)
142142

@@ -169,7 +169,7 @@ func (t *FileService) DeleteFile(_ context.Context, params param.UpdateFileParam
169169
}, nil
170170
}
171171

172-
// appendFile jRPC method for appendFile
172+
// AppendFile jRPC method for appendFile
173173
func (t *FileService) AppendFile(_ context.Context, params param.AppendFileParams) (*response.FileResponse, error) {
174174
transaction := hiero.NewFileAppendTransaction().SetGrpcDeadline(&threeSecondsDuration)
175175

tck/methods/token.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ func (t *TokenService) AssociateToken(_ context.Context, params param.AssociateD
358358
return &response.TokenResponse{Status: receipt.Status.String()}, nil
359359
}
360360

361-
// DisassociateToken jRPC method for dissociateToken
361+
// DissociatesToken jRPC method for dissociateToken
362362
func (t *TokenService) DissociatesToken(_ context.Context, params param.AssociateDissociatesTokenParams) (*response.TokenResponse, error) {
363363
transaction := hiero.NewTokenDissociateTransaction().SetGrpcDeadline(&threeSecondsDuration)
364364

0 commit comments

Comments
 (0)