简体   繁体   中英

Ethereum Transaction: why balance does not change after transaction?

I set up Ethereum private chain, opened two accounts, mined some ethers in the first one. However, when I tried to send 1 ether from one account to the other, the balance did not change. The snapshot is as following. Transaction does not change balances Any one has a clue to solve this problem?

Don't stop the miner. Transactions will only be credited to the accounts (ie, the state will only be changed) if a transaction is included in the block.

So if you run a private network for testing purposes, keep always a miner running. One mining node with a single miner thread is sufficient:

geth --mine --minerthreads=1 [your custom options]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM