public static void SetBlobInfo(this WalletData walletData, WalletBlobInfo blobInfo)
 {
     if (blobInfo == null)
     {
         walletData.Blob = Array.Empty <byte>();
         return;
     }
     walletData.Blob = ZipUtils.Zip(JsonConvert.SerializeObject(blobInfo));
 }
Example #2
0
 public void SetBlobInfo(WalletBlobInfo blobInfo)
 {
     if (blobInfo == null)
     {
         Blob = Array.Empty <byte>();
         return;
     }
     Blob = ZipUtils.Zip(JsonConvert.SerializeObject(blobInfo));
 }