Skip to content

Commit

Permalink
fix: add default network to xverse
Browse files Browse the repository at this point in the history
  • Loading branch information
kranthicodes committed Jun 28, 2023
1 parent ef1a8cd commit 4dfeb47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/sdk/src/browser-wallets/xverse/addresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { getAddressesFromPublicKey, getAddressFormat } from "../../addresses";
import { Network } from "../../config/types";
import { isXverseInstalled, XverseNetwork } from "./utils";
export async function getAddresses(options: XverseGetAddressOptions) {
options.network = options.network ?? 'testnet'

const result: Array<{
pub: string;
address: string;
Expand Down

0 comments on commit 4dfeb47

Please sign in to comment.