linting
This commit is contained in:
parent
4293b91abc
commit
20611fe6e0
@ -897,13 +897,13 @@ deploymentCli
|
||||
out += "\n";
|
||||
|
||||
while (Amounts.cmp(x, max) < 0) {
|
||||
out += `[COIN_${currency}_${n}]\n`;
|
||||
out += `[COIN-${currency}_${n}]\n`;
|
||||
out += `VALUE = ${Amounts.stringify(x)}\n`;
|
||||
out += `DURATION_WITHDRAW = 7 days\n`;
|
||||
out += `DURATION_SPEND = 2 years\n`;
|
||||
out += `DURATION_LEGAL = 6 years\n`;
|
||||
out += `FEE_WITHDRAW = ${currency}:0\n`;
|
||||
out += `FEE_DEPOSIT = ${currency}:0\n`;
|
||||
out += `FEE_DEPOSIT = ${Amounts.stringify(min)}\n`;
|
||||
out += `FEE_REFRESH = ${currency}:0\n`;
|
||||
out += `FEE_REFUND = ${currency}:0\n`;
|
||||
out += `RSA_KEYSIZE = 2048\n`;
|
||||
|
@ -138,9 +138,11 @@ function checkCoinConfig(cfg: Configuration, basic: BasicConf): void {
|
||||
// FIXME: check that section is well-formed
|
||||
}
|
||||
|
||||
console.log(
|
||||
"error: no coin denomination configured, please configure [coin_*] sections",
|
||||
);
|
||||
if (numCoins == 0) {
|
||||
console.log(
|
||||
"error: no coin denomination configured, please configure [coin-*] sections",
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
function checkWireConfig(cfg: Configuration): void {
|
||||
@ -231,7 +233,6 @@ export async function checkExchangeHttpd(
|
||||
console.log(
|
||||
"warning: section EXCHANGE option BASE_URL: it is recommended to serve the exchange via HTTPS",
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
{
|
||||
@ -265,7 +266,9 @@ export async function checkExchangeHttpd(
|
||||
);
|
||||
|
||||
if (keys.master_public_key !== pubConf.masterPublicKey) {
|
||||
console.log("error: master public key of exchange does not match public key of live exchange");
|
||||
console.log(
|
||||
"error: master public key of exchange does not match public key of live exchange",
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user