Musicoin / go-musicoin

:link: Go-version of Musicoin blockchain wallet and consensus
GNU Lesser General Public License v3.0
162 stars 57 forks source link

geth.ipc #86

Closed Surfang closed 6 years ago

Surfang commented 6 years ago

/home/user/musicoin/build/bin/gmc --datadir /home/user/.musicoin --exec "personal.unlockAccount(eth.accounts[0], 'password', 1800)" attach Fatal: Unable to attach to remote gmc: dial unix /home/user/.musicoin/geth.ipc: connect: no such file or directory

https://github.com/Musicoin/go-musicoin/blob/40c381a1c5354bb42b7572fe1ae9e18970d4efa0/cmd/gmc/consolecmd.go#L130

immartian commented 6 years ago

a better way would be run gmc console to utter the command to unlock. but the ipc part maybe we have to consider, it should be gmc.ipc instead of geth, right? @5chdn

5chdn commented 6 years ago

fixed in latest release

immartian commented 6 years ago

thanks, confirmed.