コード例 #1
0
        private void SetupCannotBroadcastTransaction()
        {
            var cantBroadcastTransactionEntry = new TransactionBroadcastEntry(_transactionHelpers.CreateEmpty(), BroadcastState.CantBroadcast, new MempoolError());

            _broadcasterManager.Setup(callTo => callTo.GetTransaction(It.IsAny <uint256>())).Returns(cantBroadcastTransactionEntry);
        }