Fix error fmt string

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-08-25 03:14:52 +02:00
parent d921791c55
commit b2ff231c48
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -320,7 +320,7 @@ func (mp *MessagePool) checkMessage(m *types.SignedMessage) error {
// Perform syntaxtic validation, minGas=0 as we check if correctly in select messages
if err := m.Message.ValidForBlockInclusion(0); err != nil {
return xerrors.Errorf("message not valid for block inclusion: %d", err)
return xerrors.Errorf("message not valid for block inclusion: %w", err)
}
if m.Message.To == address.Undef {