OSDN Git Service

Fix fast sync bug when the chain has fork (#282)
authoryahtoo <yahtoo.ma@gmail.com>
Mon, 15 Jul 2019 05:05:01 +0000 (13:05 +0800)
committerPaladz <yzhu101@uottawa.ca>
Mon, 15 Jul 2019 05:05:01 +0000 (13:05 +0800)
commit8643695a1ff4d574d231ef7ada1cde3bbc76404b
tree887cc999044323602a0586f8a0ffc89a59fa27ca
parenta1d6ba85cdcf3b2f1877a2bd252fa613ae6f7944
Fix fast sync bug when the chain has fork (#282)

* Fix fast sync bug when the chain has fork

* Opz code format

* Fix test file err
netsync/chainmgr/block_process.go
netsync/chainmgr/block_process_test.go
netsync/chainmgr/fast_sync.go