Browse Source

фикс отображения

Rimmon 4 years ago
parent
commit
c60e2f540c
2 changed files with 5 additions and 3 deletions
  1. 2 0
      MySQLConnector.cs
  2. 3 3
      Pages/Blockchains.razor

+ 2 - 0
MySQLConnector.cs

@@ -75,6 +75,8 @@ namespace HyperCube
                     contract.id = rdr.GetInt32(0);
                     contract.Code = rdr.GetString(1);
                     contract.ByteCode = rdr.GetString(2);
+                    if (!contracts.ContainsKey(contract.id))
+                        contracts.Add(contract.id, contract);
                 }
 
                 await Task.WhenAll();

File diff suppressed because it is too large
+ 3 - 3
Pages/Blockchains.razor