diff --git a/Libplanet/Blockchain/BlockChain.cs b/Libplanet/Blockchain/BlockChain.cs index ca35557749f..beeb098d8c3 100644 --- a/Libplanet/Blockchain/BlockChain.cs +++ b/Libplanet/Blockchain/BlockChain.cs @@ -385,8 +385,9 @@ public static BlockChain Create( if (!genesisBlock.StateRootHash.Equals(computedStateRootHash)) { throw new InvalidBlockStateRootHashException( - "Given block #{Index} {Hash} has a state root hash {ExpectedStateRootHash} " + - "that is different from the calculated state root hash {ActualStateRootHash}", + $"Given block #{genesisBlock.Index} {genesisBlock.Hash} has " + + $"a state root hash {genesisBlock.StateRootHash} that is different " + + $"from the calculated state root hash {computedStateRootHash}", genesisBlock.StateRootHash, computedStateRootHash); }