use exchange instead of mint in text

This commit is contained in:
Florian Dold 2016-02-29 03:26:51 +01:00
parent 4dd60169bb
commit 30ee3320c7

View File

@ -192,7 +192,7 @@ function view(ctrl: Controller) {
ctrl.callbackUrl), ctrl.callbackUrl),
disabled: !ctrl.isValidMint disabled: !ctrl.isValidMint
}, },
"Confirm mint selection"); "Confirm exchange selection");
if (ctrl.statusString) { if (ctrl.statusString) {
mx("p", ctrl.statusString); mx("p", ctrl.statusString);
@ -269,8 +269,8 @@ function getSuggestedMint(currency: string): Promise<string> {
// TODO: make this request go to the wallet backend // TODO: make this request go to the wallet backend
// Right now, this is a stub. // Right now, this is a stub.
const defaultMint = { const defaultMint = {
"KUDOS": "http://mint.demo.taler.net", "KUDOS": "http://exchange.demo.taler.net",
"PUDOS": "http://mint.test.taler.net", "PUDOS": "http://exchange.test.taler.net",
}; };
let mint = defaultMint[currency]; let mint = defaultMint[currency];
@ -302,4 +302,4 @@ export function main() {
document.body.innerText = `Fatal error: "${e.message}".`; document.body.innerText = `Fatal error: "${e.message}".`;
console.error(`got backend error "${e.message}"`); console.error(`got backend error "${e.message}"`);
}); });
} }