OSDN Git Service

rename (#465)
[bytom/vapor.git] / netsync / chainmgr / protocol_reactor.go
index 85a5c25..e07d9d0 100644 (file)
@@ -6,10 +6,10 @@ import (
        log "github.com/sirupsen/logrus"
        "github.com/tendermint/go-wire"
 
-       "github.com/vapor/errors"
-       msgs "github.com/vapor/netsync/messages"
-       "github.com/vapor/p2p"
-       "github.com/vapor/p2p/connection"
+       "github.com/bytom/vapor/errors"
+       msgs "github.com/bytom/vapor/netsync/messages"
+       "github.com/bytom/vapor/p2p"
+       "github.com/bytom/vapor/p2p/connection"
 )
 
 //ProtocolReactor handles new coming protocol message.
@@ -56,7 +56,8 @@ func (pr *ProtocolReactor) AddPeer(peer *p2p.Peer) error {
        if err := pr.manager.SendStatus(peer); err != nil {
                return err
        }
-       pr.manager.syncTransactions(peer.Key)
+
+       pr.manager.syncMempool(peer.Key)
        return nil
 }