truechain / truechain-engineering-code

Go implementation of TrueChain
GNU Lesser General Public License v3.0
100 stars 81 forks source link

The necessary functions of API do not work #30

Closed tari404 closed 5 years ago

tari404 commented 6 years ago

APIs func (self *worker) pendingBlock() *types.Block and func (self *worker) pending() (*types.Block, *state.StateDB) can not return the correct result (miner/worker.go:L234-270), which are necessary interfaces for many Web3 functions.

Danger level: 1/5 Importance level: 4/5

ruthlesstom commented 6 years ago

null_photos_color_200x200dp_2x