Skip to content

Commit 69a9496

Browse files
authored
Remove unused variable from 01_04_52-user_call.js
1 parent d4b9299 commit 69a9496

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/01_04_52-user_call.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ const CustomError = require('../lib/CustomError');
1010
const NETWORK = bitcoin.networks.testnet;
1111

1212
describe('Calling registerFastBridgeBtcTransaction', function() {
13-
1413
let rskClient;
1514
let btcClient;
1615
let pegClient;
17-
let utils;
1816

1917
before(() => {
2018
rskClient = rsk.getClient(Runners.hosts.federate.host);
@@ -25,7 +23,6 @@ describe('Calling registerFastBridgeBtcTransaction', function() {
2523
NETWORK
2624
);
2725
pegClient = pegUtils.using(btcClient, rskClient);
28-
utils = rskUtilsLegacy.with(btcClient, rskClient, pegClient);
2926
});
3027

3128
it('should return error when user calling registerFastBridgeBtcTransaction method', async () => {
@@ -38,8 +35,7 @@ describe('Calling registerFastBridgeBtcTransaction', function() {
3835
let addressBtcBytes = libUtils.ensure0x(bitcoin.addresses.decodeBase58Address(addressBtc));
3936
let callResult = await rskClient.rsk.bridge.methods.registerFastBridgeBtcTransaction("0x", 1, stringHex, stringHex, addressBtcBytes, randomAddress, addressBtcBytes, false).call();
4037
expect(Number(callResult)).to.equal(errorUserCalls);
41-
}
42-
catch (err) {
38+
} catch (err) {
4339
throw new CustomError('registerFastBridgeBtcTransaction call failure', err);
4440
}
4541
})

0 commit comments

Comments
 (0)