Skip to content

Commit 2abe545

Browse files
committed
fix: Fixed scope.
Signed-off-by: ebadiere <ebadiere@gmail.com>
1 parent 26e1bb1 commit 2abe545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/relay/src/lib/clients/sdkClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ export class SDKClient {
659659
throw predefined.HBAR_RATE_LIMIT_EXCEEDED;
660660
}
661661

662-
const fileCreateTx = await new FileCreateTransaction()
662+
fileCreateTx = await new FileCreateTransaction()
663663
.setContents(hexedCallData.substring(0, this.fileAppendChunkSize))
664664
.setKeys(client.operatorPublicKey ? [client.operatorPublicKey] : []);
665665

@@ -682,7 +682,7 @@ export class SDKClient {
682682
);
683683

684684
if (fileId && callData.length > this.fileAppendChunkSize) {
685-
const fileAppendTx = await new FileAppendTransaction()
685+
fileAppendTx = await new FileAppendTransaction()
686686
.setFileId(fileId)
687687
.setContents(hexedCallData.substring(this.fileAppendChunkSize, hexedCallData.length))
688688
.setChunkSize(this.fileAppendChunkSize)

0 commit comments

Comments
 (0)