Skip to content

Commit 46fd271

Browse files
authored
enable fullstackNetworkProvider p2sh32 test (#247)
1 parent 5c82a5f commit 46fd271

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cashscript/test/e2e/network/FullStack.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ if (!process.env.TESTS_USE_MOCKNET) {
2323
const utxos = await p2pkhInstance.getUtxos();
2424
expect(Array.isArray(utxos)).toBe(true);
2525
});
26-
// Note: does not currently support p2sh32
27-
it.skip('should get the utxos for a p2sh32 contract', async () => {
26+
it('should get the utxos for a p2sh32 contract', async () => {
2827
// Note: We instantiate the contract with bobPkh to avoid mempool conflicts with other tests
2928
const p2pkhInstance = new Contract(artifact, [bobPkh], { provider, addressType: 'p2sh32' });
3029
console.log(p2pkhInstance.address);
@@ -36,6 +35,7 @@ if (!process.env.TESTS_USE_MOCKNET) {
3635

3736
describe('send using FullStackNetworkProvider', () => {
3837
// Note: We instantiate the contract with bobPkh to avoid mempool conflicts with other tests
38+
// Using p2sh20 address becuase it is funded on mainnet
3939
const p2pkhInstance = new Contract(artifact, [bobPkh], { provider, addressType: 'p2sh20' });
4040
console.log(p2pkhInstance.address);
4141

0 commit comments

Comments
 (0)