Skip to content

Commit

Permalink
support mainnet network only for cosmos chains
Browse files Browse the repository at this point in the history
  • Loading branch information
nooxx committed Feb 8, 2024
1 parent 44ea124 commit 00a3450
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/services/atom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class AtomService extends Service {
};
const fbNote = note ? note : 'ATOM tx from @kilnfi/sdk';
const signer = this.getFbSigner(integration);
const fbTx = await signer.signWithFB(payload, this.testnet ? 'ATOM_COS_TEST' : 'ATOM_COS', fbNote);
const fbTx = await signer.signWithFB(payload, 'ATOM_COS', fbNote);
const signature: string = fbTx.signedMessages![0].signature.fullSig;
const { data } = await api.post<CosmosSignedTx>(
`/v1/atom/transaction/prepare`,
Expand Down
2 changes: 1 addition & 1 deletion src/services/dydx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class DydxService extends Service {
};
const fbNote = note ? note : 'DYDX tx from @kilnfi/sdk';
const signer = this.getFbSigner(integration);
const fbTx = await signer.signWithFB(payload, this.testnet ? 'DV4TNT_TEST' : 'DYDX_DYDX', fbNote);
const fbTx = await signer.signWithFB(payload, 'DYDX_DYDX', fbNote);
const signature: string = fbTx.signedMessages![0].signature.fullSig;
const { data } = await api.post<CosmosSignedTx>(
`/v1/dydx/transaction/prepare`,
Expand Down
2 changes: 1 addition & 1 deletion src/services/osmo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class OsmoService extends Service {
};
const fbNote = note ? note : 'OSMO tx from @kilnfi/sdk';
const signer = this.getFbSigner(integration);
const fbTx = await signer.signWithFB(payload, this.testnet ? 'OSMO_TEST' : 'OSMO', fbNote);
const fbTx = await signer.signWithFB(payload, 'OSMO', fbNote);
const signature: string = fbTx.signedMessages![0].signature.fullSig;
const { data } = await api.post<CosmosSignedTx>(
`/v1/osmo/transaction/prepare`,
Expand Down

0 comments on commit 00a3450

Please sign in to comment.