Merge pull request #5173 from filecoin-project/fix/mpool-push-untrusted

fix PushUntrusted publishing -- the message is local
This commit is contained in:
Łukasz Magiera 2020-12-10 17:08:03 +01:00 committed by GitHub
commit c9b489437d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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