Skip to content

Commit

Permalink
Correct network for tx tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xray-robot committed Jun 24, 2024
1 parent c3d61a8 commit 818cd69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/tx.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { CardanoWeb3, KupmiosProvider, T } from "../src"
import { testData } from "./__test"

describe("TX", async () => {
const web3 = await CardanoWeb3.init()
const web3 = await CardanoWeb3.init({
network: "preview",
})
const account = web3.account.fromXprvKey(testData.xprvKey)
const changeAddress = account.__config.paymentAddress
const stakingAddress = account.__config.stakingAddress
Expand Down

0 comments on commit 818cd69

Please sign in to comment.