Skip to content

Commit

Permalink
remove unneeded variables
Browse files Browse the repository at this point in the history
  • Loading branch information
escottalexander committed Nov 28, 2023
1 parent 61b7089 commit 7fa3ac7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/bitcore-wallet-service/src/lib/expressapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,17 +468,14 @@ export class ExpressApp {
}
return value ? value : null;
};
const tokenAddresses = getParam('tokenAddress', true);
const multisigContractAddress = getParam('multisigContractAddress');
const network = getParam('network');
const opts = {
includeExtendedInfo: req.query.includeExtendedInfo == '1',
twoStep: req.query.twoStep == '1',
silentFailure: req.query.silentFailure == '1',
includeServerMessages: req.query.serverMessageArray == '1',
tokenAddresses,
multisigContractAddress,
network
tokenAddresses: getParam('tokenAddress', true),
multisigContractAddress: getParam('multisigContractAddress'),
network: getParam('network')
};
return opts;
};
Expand Down

0 comments on commit 7fa3ac7

Please sign in to comment.