/// <summary> /// Creates a delta for one off execution. /// </summary> public Delta CreateOneOffDelta(PublicEntry publicEntry) { Delta newDelta = Delta.Clone(); newDelta.PreviousDeltaDfsHash = Cid.ToArray().ToByteString(); newDelta.CoinbaseEntries.Clear(); newDelta.ConfidentialEntries.Clear(); newDelta.PublicEntries.Clear(); newDelta.PublicEntries.Add(publicEntry); return(newDelta); }