Skip to content

Commit

Permalink
Remove unused linting comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DOBEN committed Aug 16, 2023
1 parent d3f3b07 commit e0ae051
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sponsoredTransactions/frontend/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Unreleased changes

## 2.1.0
## 2.0.1

- Migrate dApp from using deprecated JSON-RPC client to new gRPC client.

Expand Down
2 changes: 1 addition & 1 deletion sponsoredTransactions/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sponsored-transactions",
"packageManager": "[email protected]",
"version": "2.1.0",
"version": "2.0.1",
"license": "Apache-2.0",
"engines": {
"node": ">=16.x"
Expand Down
2 changes: 0 additions & 2 deletions sponsoredTransactions/frontend/src/SponsoredTransactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,14 +225,12 @@ async function generateUpdateOperatorMessage(
return serializedMessage;
}

// eslint-disable-next-line @typescript-eslint/no-explicit-any
async function getPublicKey(rpcClient: ConcordiumGRPCClient, account: string) {
const res = await rpcClient.getAccountInfo(new AccountAddress(account));
const publicKey = res?.accountCredentials[0].value.contents.credentialPublicKeys.keys[0].verifyKey;
return publicKey;
}

// eslint-disable-next-line @typescript-eslint/no-explicit-any
async function getNonceOf(rpcClient: ConcordiumGRPCClient, account: string) {
const param = serializeTypeValue(
{
Expand Down

0 comments on commit e0ae051

Please sign in to comment.