Skip to content

Commit

Permalink
fix: Fixed scope.
Browse files Browse the repository at this point in the history
Signed-off-by: ebadiere <[email protected]>
  • Loading branch information
ebadiere committed Jun 28, 2024
1 parent 26e1bb1 commit 2abe545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/relay/src/lib/clients/sdkClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ export class SDKClient {
throw predefined.HBAR_RATE_LIMIT_EXCEEDED;
}

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

Expand All @@ -682,7 +682,7 @@ export class SDKClient {
);

if (fileId && callData.length > this.fileAppendChunkSize) {
const fileAppendTx = await new FileAppendTransaction()
fileAppendTx = await new FileAppendTransaction()
.setFileId(fileId)
.setContents(hexedCallData.substring(this.fileAppendChunkSize, hexedCallData.length))
.setChunkSize(this.fileAppendChunkSize)
Expand Down

0 comments on commit 2abe545

Please sign in to comment.