Beispiel #1
0
        public async Task Get_GetReservedBlockHashes_ReturnNull()
        {
            var chain = await _fullBlockchainService.GetChainAsync();

            var result = await _fullBlockchainService.GetReversedBlockIndexes(Hash.FromString("not exist"), 1);

            result.Count.ShouldBe(0);

            result = await _fullBlockchainService.GetReversedBlockIndexes(chain.GenesisBlockHash, 1);

            result.Count.ShouldBe(0);
        }