Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: logic error and remove useless function call #1227

Merged
merged 2 commits into from
Jun 9, 2023

Conversation

Terryhung
Copy link
Collaborator

No description provided.

@Terryhung Terryhung marked this pull request as ready for review June 9, 2023 05:57
@@ -110,28 +109,15 @@ func (t *Task) ProcessTipSets(ctx context.Context, current *types.TipSet, execut

for _, parentMsg := range mex {
// Only handle EVM related message
if !util.IsEVMAddress(ctx, t.node, parentMsg.Message.From, current.Key()) && !util.IsEVMAddress(ctx, t.node, parentMsg.Message.To, current.Key()) && !(parentMsg.Message.To != builtintypes.EthereumAddressManagerActorAddr) {
if !util.IsEVMAddress(ctx, t.node, parentMsg.Message.From, current.Key()) && !util.IsEVMAddress(ctx, t.node, parentMsg.Message.To, current.Key()) && (parentMsg.Message.To != builtintypes.EthereumAddressManagerActorAddr) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multi-line to increase readability.

@Terryhung Terryhung merged commit 7bd0124 into master Jun 9, 2023
@Terryhung Terryhung deleted the terryhung/fix-the-fevm-trace-error branch June 9, 2023 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants