truffle-box / tutorialtoken-box

A box containing all you need to get started with our OpenZeppelin (TutorialToken) tutorial.
MIT License
56 stars 23 forks source link

Cannot transfer in MetaMask #16

Closed Nicholasw22 closed 5 years ago

Nicholasw22 commented 5 years ago

I've been able to complete the tutorial except for the last step. After I try to transfer the tokens, MetaMask pops up but only asks to transfer 20 rather than 2000. I confirmed the transfer but then I got the below error. Not sure how to fix this:

ALERT: [ethjs-rpc] rpc error with payload {"id":8115156641522,"jsonrpc":"2.0","params":["0xf8ac058504a817c800830186a094a9d80351aa4c9ef8dd5fb7714f8c2de7de15fbd580b844a9059cbb000000000000000000000000fc7804c9909cdb6b45e1c76c4514a1aad7ee97710000000000000000000000000000000000000000000000000000000000030d40822d45a0ad7573fa45f9dc32da7795fa176070551e809e6074c0d1d08fac43fafe9c5c42a01ec1a1a77b527ab133559319248a97cd8bf6622af253368f20fe220c52cdbd10"],"method":"eth_sendRawTransaction"} Error: the tx doesn't have the correct nonce. account has nonce of: 4 tx has nonce of: 5

![Screen Shot 2019-04-09 at 8 30 05 AM](https://user-images.githubusercontent.com/29466066/55800504-e170a080-5aa1-11e9-8aad-39aadb845a3f.png

Nicholasw22 commented 5 years ago

I was able to get this to work by rolling back to a prior version of Metamask.