Skip to content

Commit

Permalink
Conflict resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
greymistcube committed Jul 6, 2021
1 parent 46eb639 commit 2b68661
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ To be released.
[[#1294], [#1328]]
- Added `IStore.IterateTxIdBlockHashIndex(TxId)` method.
[[#1294], [#1328]]
- Parameter `miner` for `Block<T>()` and `Block<T>.Mine()` can no longer be
`null`. [[1341]]
- `Swarm<T>.StartAsync()` method became to receive `broadcastBlockInterval`
(or `millisecondsBroadcastBlockInterval`) parameter. [[#1351]]

Expand Down Expand Up @@ -318,6 +320,7 @@ To be released.
[#1334]: https://github.com/planetarium/libplanet/pull/1334
[#1339]: https://github.com/planetarium/libplanet/issues/1339
[#1340]: https://github.com/planetarium/libplanet/pull/1340
[#1341]: https://github.com/planetarium/libplanet/pull/1341
[#1342]: https://github.com/planetarium/libplanet/pull/1342
[#1343]: https://github.com/planetarium/libplanet/pull/1343
[#1348]: https://github.com/planetarium/libplanet/pull/1348
Expand Down
4 changes: 2 additions & 2 deletions Libplanet.Tests/Action/ActionEvaluatorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ public void EvaluateWithCriticalException()
? new AccountStateDeltaImpl(
ActionEvaluator<DumbAction>.NullAccountStateGetter,
ActionEvaluator<DumbAction>.NullAccountBalanceGetter,
genesis.Miner.GetValueOrDefault())
genesis.Miner)
: new AccountStateDeltaImplV0(
ActionEvaluator<DumbAction>.NullAccountStateGetter,
ActionEvaluator<DumbAction>.NullAccountBalanceGetter,
genesis.Miner.GetValueOrDefault());
genesis.Miner);

// ToList() is required for realization.
chain.ActionEvaluator.EvaluateTx(
Expand Down
6 changes: 3 additions & 3 deletions Libplanet/Blocks/Block.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public class Block<T> : IBlockExcerpt
/// See also <see cref="Difficulty"/>.</param>
/// <param name="nonce">The nonce which satisfy the given <paramref name="difficulty"/> with
/// any other field values. Goes to the <see cref="Nonce"/>.</param>
/// <param name="miner">An optional address refers to who mines this block.
/// Goes to the <see cref="Miner"/>.</param>
/// <param name="miner">The <see cref="Address"/> of the miner of this block. Goes to the
/// <see cref="Miner"/>.</param>
/// <param name="previousHash">The previous block's <see cref="Hash"/>. If it's a genesis
/// block (i.e., <paramref name="index"/> is 0) this should be <c>null</c>.
/// Goes to the <see cref="PreviousHash"/>.</param>
Expand Down Expand Up @@ -348,7 +348,7 @@ public BlockHeader Header
/// <see cref="Nonce"/>.</param>
/// <param name="previousTotalDifficulty">The total difficulty until the previous
/// <see cref="Block{T}"/>.</param>
/// <param name="miner">The <see cref="Address"/> of miner that mined the block.</param>
/// <param name="miner">The <see cref="Address"/> of miner that mines the block.</param>
/// <param name="previousHash">
/// The <see cref="HashDigest{SHA256}"/> of previous block.
/// </param>
Expand Down

0 comments on commit 2b68661

Please sign in to comment.