Skip to content

Commit

Permalink
standardize function names
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntVal committed Nov 1, 2024
1 parent 8f64cb9 commit 5c81661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/abstraxion-core/src/AbstraxionAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export class AbstraxionAuth {
* @returns {Promise<boolean>} - Returns a promise that resolves to `true` if all treasury grants match chain grants; otherwise, `false`.
* @throws {Error} - Throws an error if the treasury contract is missing.
*/
async compareTreasuryWithChainGrants(
async compareGrantsToTreasury(
grantsResponse: GrantsResponse,
): Promise<boolean> {
if (!this.treasury) {
Expand Down Expand Up @@ -614,7 +614,7 @@ export class AbstraxionAuth {

let isValid: boolean;
if (this.treasury) {
isValid = await this.compareTreasuryWithChainGrants(data);
isValid = await this.compareGrantsToTreasury(data);
} else {
isValid = this.compareGrantsToLegacyConfig(data);
}
Expand Down

0 comments on commit 5c81661

Please sign in to comment.