fix PushUntrusted publishing -- the message is local

This commit is contained in:
vyzo 2020-12-10 17:26:41 +02:00
parent e1be89b442
commit e07059e73d

View File

@ -871,7 +871,7 @@ func (mp *MessagePool) PushUntrusted(m *types.SignedMessage) (cid.Cid, error) {
}()
mp.curTsLk.Lock()
publish, err := mp.addTs(m, mp.curTs, false, true)
publish, err := mp.addTs(m, mp.curTs, true, true)
if err != nil {
mp.curTsLk.Unlock()
return cid.Undef, err