Exemplo n.º 1
0
 public void MergeFrom(AuthorityInfo other)
 {
     if (other == null)
     {
         return;
     }
     if (other.contractAddress_ != null)
     {
         if (contractAddress_ == null)
         {
             ContractAddress = new global::AElf.Types.Address();
         }
         ContractAddress.MergeFrom(other.ContractAddress);
     }
     if (other.ownerAddress_ != null)
     {
         if (ownerAddress_ == null)
         {
             OwnerAddress = new global::AElf.Types.Address();
         }
         OwnerAddress.MergeFrom(other.OwnerAddress);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }