Fix off by one tipset in searchBackForMsg

This way we will return the tipset the message was executed in

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-10-13 17:48:54 +02:00
parent 5fd0bf11ba
commit 87cd8c6725
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -738,7 +738,7 @@ func (sm *StateManager) searchBackForMsg(ctx context.Context, from *types.TipSet
}
if r != nil {
return pts, r, foundMsg, nil
return cur, r, foundMsg, nil
}
}