mascara - example dapp - log main account

feature/default_network_editable
kumavis 8 years ago
parent 014c971b89
commit d047ba541f
  1. 2
      library/example/index.js

@ -17,7 +17,7 @@ function startApp(){
console.log('getting main account...')
web3.eth.getAccounts(function(err, addresses){
if (err) throw err
console.log('set address')
console.log('set address', addresses[0])
primaryAccount = addresses[0]
})

Loading…
Cancel
Save