fix PushUntrusted publishing -- the message is local
This commit is contained in:
parent
e1be89b442
commit
e07059e73d
@ -871,7 +871,7 @@ func (mp *MessagePool) PushUntrusted(m *types.SignedMessage) (cid.Cid, error) {
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
mp.curTsLk.Lock()
|
mp.curTsLk.Lock()
|
||||||
publish, err := mp.addTs(m, mp.curTs, false, true)
|
publish, err := mp.addTs(m, mp.curTs, true, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
mp.curTsLk.Unlock()
|
mp.curTsLk.Unlock()
|
||||||
return cid.Undef, err
|
return cid.Undef, err
|
||||||
|
Loading…
Reference in New Issue
Block a user