Skip to content

Commit

Permalink
Fix return type of getAddress()
Browse files Browse the repository at this point in the history
  • Loading branch information
platfowner committed Apr 5, 2024
1 parent 6596ee2 commit ab08a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export default class Provider {

/**
* Fetches the blockchain node's address.
* @returns {Promise<any>} The return value of the blockchain API.
* @returns {Promise<string>} The return value of the blockchain API.
*/
getAddress(): Promise<any> {
getAddress(): Promise<string> {
return this.send('ain_getAddress', {})
}

Expand Down

0 comments on commit ab08a94

Please sign in to comment.