Skip to content

Commit

Permalink
Fix seg fault (ethereum#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlfloersch authored Feb 25, 2021
1 parent abfa0a8 commit 88fade2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup/sync_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func (m *mockClient) GetEthContext(index uint64) (*EthContext, error) {
}

func (m *mockClient) GetLatestEthContext() (*EthContext, error) {
return nil, nil
return &EthContext{}, nil
}

func (m *mockClient) GetLastConfirmedEnqueue() (*types.Transaction, error) {
Expand Down

0 comments on commit 88fade2

Please sign in to comment.