예제 #1
0
        public void TestCommitBlock()
        {
            BlockRepository subscriber = new BlockRepository();
            BlockBuilder    builder    = new BlockBuilder(subscriber, new TransactionRepository());

            var block = subscriber.GetBlock(62).Result;

            builder.CommitBlock(block).Wait();
            Assert.IsNotNull(block);
        }