mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
mascara - example dapp - log main account
This commit is contained in:
parent
014c971b89
commit
d047ba541f
@ -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…
Reference in New Issue
Block a user