X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=net%2Fwebsocket%2Fwsnotificationmaneger.go;h=3e7957ddcfbbd7666f7d2a406ac9c972699129ce;hp=f92e6ef1cc7bfdc2ae8f355718f13936909a9145;hb=1337be95f74a1d2a1a7316737efde413f29bcb2f;hpb=54373c1a3efe0e373ec1605840a4363e4b246c46 diff --git a/net/websocket/wsnotificationmaneger.go b/net/websocket/wsnotificationmaneger.go index f92e6ef1..3e7957dd 100644 --- a/net/websocket/wsnotificationmaneger.go +++ b/net/websocket/wsnotificationmaneger.go @@ -7,10 +7,10 @@ import ( log "github.com/sirupsen/logrus" - "github.com/vapor/event" - "github.com/vapor/protocol" - "github.com/vapor/protocol/bc" - "github.com/vapor/protocol/bc/types" + "github.com/bytom/vapor/event" + "github.com/bytom/vapor/protocol" + "github.com/bytom/vapor/protocol/bc" + "github.com/bytom/vapor/protocol/bc/types" ) // Notification types @@ -445,7 +445,12 @@ out: } if m.status.BestHash != block.PreviousBlockHash { - log.WithFields(log.Fields{"module": logModule, "blockHeight": block.Height, "previousBlockHash": m.status.BestHash, "rcvBlockPrevHash": block.PreviousBlockHash}).Warning("The previousBlockHash of the received block is not the same as the hash of the previous block") + log.WithFields(log.Fields{ + "module": logModule, + "block_height": block.Height, + "status_block_hash": m.status.BestHash.String(), + "retrive_block_PrevHash": block.PreviousBlockHash.String(), + }).Warning("The previousBlockHash of the received block is not the same as the hash of the previous block") continue }