Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Exchange don't add blocks on their own anymore #47

Merged
merged 3 commits into from
Jul 27, 2022

Conversation

@MichaelMure
Copy link
Contributor Author

cc @Stebalien

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

LGTM (pending a merge/release of the interface library)

offline_test.go Outdated
}

if _, err := store.Get(context.Background(), block.Cid()); err != nil {
t.Fatal(err)
err := ex.NotifyNewBlocks(context.Background(), block)
Copy link
Contributor

Choose a reason for hiding this comment

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

I'll push something that remove this test, it's literally testing that return nil returns nil, pointless.

Copy link
Contributor

@Jorropo Jorropo left a comment

Choose a reason for hiding this comment

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

LGTM

The function body is just
```go
  return nil
```
And it's testing that this code returns nil.
Pointless
Signed-off-by: Jorropo <[email protected]>
@Jorropo Jorropo merged commit 310712b into ipfs:master Jul 27, 2022
@MichaelMure MichaelMure deleted the exchange-dont-add branch July 27, 2022 15:45
@ajnavarro ajnavarro mentioned this pull request Aug 24, 2022
72 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants