Esempio n. 1
0
        public void TestSendNullTransactionThrowsException()
        {
            try
            {
                orderer = hfclient.NewOrderer(ORDERER_NAME, "grpc://localhost:5151");
            }
            catch (ArgumentException e)
            {
                Assert.Fail("Failed to create new orderer: " + e);
            }

            orderer.SendTransaction(null);
            Assert.Fail("Transaction should not be null.");
        }