remove cast
This commit is contained in:
@@ -8,11 +8,11 @@ beforeEach(async () => {
|
||||
mnemonic = validatorClient.randomMnemonic();
|
||||
client = await validatorClient.connect(
|
||||
mnemonic,
|
||||
config.NYMD_URL as string,
|
||||
config.VALIDATOR_API as string,
|
||||
config.CURRENCY_PREFIX as string,
|
||||
config.MIXNET_CONTRACT as string,
|
||||
config.VESTING_CONTRACT as string
|
||||
config.NYMD_URL,
|
||||
config.VALIDATOR_API,
|
||||
config.CURRENCY_PREFIX,
|
||||
config.MIXNET_CONTRACT,
|
||||
config.VESTING_CONTRACT
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { config } from '../test-utils/config';
|
||||
let client: ValidatorApiQuerier;
|
||||
|
||||
beforeEach(() => {
|
||||
client = new ValidatorApiQuerier(config.VALIDATOR_API as string);
|
||||
client = new ValidatorApiQuerier(config.VALIDATOR_API);
|
||||
});
|
||||
|
||||
describe("init the validator api querier", () => {
|
||||
|
||||
Reference in New Issue
Block a user