This commit is contained in:
Dan Ballard 2018-05-31 14:13:34 -07:00
parent ec1aa6ea3b
commit c0513d8968
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ func (cp *CwtchPeer) TrustPeer(peer string) error {
// BlockPeer blocks an existing peer relationship.
func (cp *CwtchPeer) BlockPeer(peer string) error {
err := cp.Profile.BlockPeer(peer)
cp.connectionsManager.TearDownConnection(peer)
cp.connectionsManager.TearDownPeerConnection(peer)
return err
}