Invalid sender
Kreagentle opened this issue · 1 comments
Kreagentle commented
Good day. I run the code from page but have the answer like:
0x0c98048d
0x0000000000000000000000000725097f0677c83d099dfce69fab02d5e762bec5
0x000000000000000000000000000000000000000000000000000000174876e800
23064
2020/02/06 18:58:33 invalid sender
I check, i write correct private key, address of token and toAddress. I use a private blockchain with geth. Thanks a lot if anyone can help me.
miguelmota commented
The invalid sender in your case is most likely due to the network id not matching the chain id on the private network. See this MetaMask/metamask-extension#2015 (comment) and MetaMask/metamask-extension#1444 (comment) for more info.