Exemplo n.º 1
0
        public async Task Get_Block_ByHeight_ReturnBlock()
        {
            var result =
                await _fullBlockchainService.GetBlockByHeightInBestChainBranchAsync(
                    _kernelTestHelper.BestBranchBlockList[3].Height);

            result.ShouldNotBeNull();
            result.GetHash().ShouldBe(_kernelTestHelper.BestBranchBlockList[3].GetHash());
        }