Skip to content

Commit

Permalink
delete pm.syncTransactions in ProtocolManager LocalHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
etying committed Jun 19, 2019
1 parent cdad366 commit c25c5be
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ptn/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,13 +506,9 @@ func (pm *ProtocolManager) LocalHandle(p *peer) error {
return err
}

//if err := pm.lightdownloader.RegisterLightPeer(p.id, p.version, p); err != nil {
// return err
//}

// Propagate existing transactions. new transactions appearing
// after this will be sent via broadcasts.
pm.syncTransactions(p)
//pm.syncTransactions(p)

// main loop. handle incoming messages.
for {
Expand Down

0 comments on commit c25c5be

Please sign in to comment.