public void CancelLease(string txId) { LeaseCancelTransaction tx = TransactionFactory.BuildCancelLeasingTx(txId); ProvenTransaction result = account.SendTransaction(chain, tx); Assert.IsNotNull(result.Id); Assert.IsTrue(WaitPackageOnChain(result.Id)); }