Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Jan 3, 2020
1 parent 7b8a50b commit bdebe97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ To be released.
continuous. [[#732]]
- `Swarm<T>` became to can process more requests at once by creating TURN
relaying proxy concurrently. [[#744]]
- `Swarm<T>` became to throw `InvalidGenesisBlockException` when receiving the
genesis block of other network chain. [[#746]]
- `Swarm<T>` became to throw `InvalidGenesisBlockException` when receiving
block from the nodes that have a different genesis block. [[#746]]

### Bug fixes

Expand Down
5 changes: 5 additions & 0 deletions Libplanet.Tests/Net/SwarmTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2621,6 +2621,11 @@ BlockChain<DumbAction> MakeBlockChain() => TestUtils.MakeBlockChain(
var exceptions = exception.InnerExceptions.OfType<InvalidGenesisBlockException>();
Assert.True(exceptions.Any());
}

await StopAsync(swarmA);
await StopAsync(swarmB);
swarmA.Dispose();
swarmB.Dispose();
}

[Fact(Timeout = Timeout)]
Expand Down

0 comments on commit bdebe97

Please sign in to comment.