|
@@ -335,20 +335,20 @@
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
- private async Task GetBlockChain()
|
|
|
- {
|
|
|
- //if (Blockchain.loaded.Count == 0)
|
|
|
- //{
|
|
|
- Blockchain bc = new HyperCube.Models.Blockchain(bcURL, bcport);
|
|
|
- result = await bc.Initialize();
|
|
|
- if (result != "")
|
|
|
- hidecontr = "visible";
|
|
|
- //bcURL = bc.GetAddress();
|
|
|
- //bc.ExecuteContract();
|
|
|
- //bcURL = bc.address;
|
|
|
- //hidecontr = "hidden";
|
|
|
- //}
|
|
|
-
|
|
|
- //private Post post = new Post();
|
|
|
- }
|
|
|
+ //private async Task GetBlockChain()
|
|
|
+ //{
|
|
|
+ // //if (Blockchain.loaded.Count == 0)
|
|
|
+ // //{
|
|
|
+ // Blockchain bc = new HyperCube.Models.Blockchain(bcURL, bcport);
|
|
|
+ // result = await bc.Initialize();
|
|
|
+ // if (result != "")
|
|
|
+ // hidecontr = "visible";
|
|
|
+ // //bcURL = bc.GetAddress();
|
|
|
+ // //bc.ExecuteContract();
|
|
|
+ // //bcURL = bc.address;
|
|
|
+ // //hidecontr = "hidden";
|
|
|
+ // //}
|
|
|
+
|
|
|
+ // //private Post post = new Post();
|
|
|
+ //}
|
|
|
}
|