public static ProgramResult CreateEmpty() { ProgramResult result = new ProgramResult(); result.h_return = new byte[0]; return(result); }
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); } }