Add missing fields to duplicate message error
This commit is contained in:
parent
48ea36d37f
commit
06c99d0e18
@ -94,7 +94,7 @@ func (ms *msgSet) add(m *types.SignedMessage) error {
|
|||||||
if _, has := ms.msgs[m.Message.Nonce]; has {
|
if _, has := ms.msgs[m.Message.Nonce]; has {
|
||||||
if m.Cid() != ms.msgs[m.Message.Nonce].Cid() {
|
if m.Cid() != ms.msgs[m.Message.Nonce].Cid() {
|
||||||
log.Error("Add with duplicate nonce")
|
log.Error("Add with duplicate nonce")
|
||||||
return xerrors.Errorf("message to %s with nonce %d already in mpool")
|
return xerrors.Errorf("message to %s with nonce %d already in mpool", m.Message.To, m.Message.Nonce)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ms.msgs[m.Message.Nonce] = m
|
ms.msgs[m.Message.Nonce] = m
|
||||||
|
Loading…
Reference in New Issue
Block a user