Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
reedrosenbluth committed Apr 7, 2021
1 parent 83bbd54 commit 011f379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bns/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export const enum BnsContractAddress {

function getBnsContractAddress(network: StacksNetwork) {
if (network.chainId === ChainID.Mainnet) return BnsContractAddress.mainnet;
else if (network.chainId == ChainID.Testnest) return BnsContractAddress.testnet;
else throw new Error(`Unexpected ChainID: ${network.chainID}`);
else if (network.chainId == ChainID.Testnet) return BnsContractAddress.testnet;
else throw new Error(`Unexpected ChainID: ${network.chainId}`);
}

export interface PriceFunction {
Expand Down

0 comments on commit 011f379

Please sign in to comment.