Saving Blocked Peer Status

Este commit está contenido en:
Sarah Jamie Lewis 2019-08-06 18:25:38 -07:00
padre f08af1289f
commit f64d7ab1ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -151,7 +151,7 @@ func (ps *profileStore) eventHandler() {
ev := ps.queue.Next()
switch ev.EventType {
case event.BlockPeer:
contact, exists := ps.profile.GetContact(ev.Data["Onion"])
contact, exists := ps.profile.GetContact(ev.Data[event.RemotePeer])
if exists {
contact.Blocked = true
ps.save()