Commit 0d60906e authored by yann300's avatar yann300

don't add new account in ui (added by default when polling get account)

parent 2b9ca7ab
...@@ -645,7 +645,6 @@ function settings (container, self) { ...@@ -645,7 +645,6 @@ function settings (container, self) {
function newAccount () { function newAccount () {
self._deps.udapp.newAccount('', (error, address) => { self._deps.udapp.newAccount('', (error, address) => {
if (!error) { if (!error) {
container.querySelector('#txorigin').appendChild(yo`<option value=${address}>${address}</option>`)
addTooltip(`account ${address} created`) addTooltip(`account ${address} created`)
} else { } else {
addTooltip('Cannot create an account: ' + error) addTooltip('Cannot create an account: ' + error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment