Remove public node hacks

This commit is contained in:
maciejhirsz 2017-09-21 16:52:00 +02:00
parent 965e8ae74e
commit 1b7c90e9e1

View File

@ -188,16 +188,6 @@ export default class LocalAccountsMiddleware extends Middleware {
return [];
});
register('parity_wsUrl', () => {
// This is a hack, will be replaced by a `hostname` setting on the node itself
return `${window.location.hostname}:8546`;
});
register('parity_dappsUrl', () => {
// This is a hack, will be replaced by a `hostname` setting on the node itself
return `${window.location.hostname}:8545`;
});
register('parity_hashContent', () => {
throw new Error('Functionality unavailable on a public wallet.');
});