public ColoredCoin(Transaction tx, ColoredEntry entry)
     : this(entry.Asset, new Coin(tx, entry.Index))
 {
     if (tx == null)
     {
         throw new ArgumentNullException(nameof(tx));
     }
     if (entry == null)
     {
         throw new ArgumentNullException(nameof(entry));
     }
 }
Exemple #2
0
 public ColoredCoin(Transaction tx, ColoredEntry entry)
     : this(entry.Asset, new Coin(tx, entry.Index))
 {
 }