Beispiel #1
0
        public static ProgramResult CreateEmpty()
        {
            ProgramResult result = new ProgramResult();

            result.h_return = new byte[0];

            return(result);
        }
Beispiel #2
0
 public void Merge(ProgramResult other)
 {
     AddInternalTransaction(other.InternalTransactions);
     if (other.Exception == null && !other.IsRevert)
     {
         AddDeleteAccount(other.DeleteAccount);
         AddLogInfo(other.LogInfos);
         AddFutureRefund(other.FutureRefund);
         AddTouchAccount(other.TouchAccount);
     }
 }