Removed more warnings

This commit is contained in:
Rick Falkvinge
2018-01-06 17:02:06 +01:00
parent 88de68f48a
commit 079f50992f
4 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -80,7 +80,7 @@ namespace Swarmops.Logic.Cache
lock (loadCacheLock)
{
// Prime the cache
BasicGeography partent = GetGeography (parentGeographyId);
GetGeography (parentGeographyId);
//TODO: Possible to miss a child geography here if it was added since last cache reload.
@@ -100,7 +100,7 @@ namespace Swarmops.Logic.Cache
lock (loadCacheLock)
{
// Prime the cache
BasicGeography partent = GetGeography (parentGeographyId);
GetGeography (parentGeographyId);
return GetHashedGeographies()[parentGeographyId].Count - 1;
}
+1
View File
@@ -178,6 +178,7 @@ namespace Swarmops.Logic.Cache
List<BasicOrganization> result = new List<BasicOrganization>();
//Prime the cache
GetOrganization(startOrganizationId);
List<BasicOrganization> thisList = organizations[startOrganizationId];
+1 -1
View File
@@ -64,7 +64,7 @@ namespace Swarmops.Logic.Financial
derivationPathString = derivationPathString.TrimStart();
string bitcoinAddress = extPubKey.PubKey.GetAddress(Network.Main).ToString(); // TODO: CHANGE NETWORK.MAIN TO NEW LOOKUP
string bitcoinAddressFallback = extPubKey.PubKey.GetAddress(Network.Main).ToString(); // The fallback address would be the main address
// string bitcoinAddressFallback = extPubKey.PubKey.GetAddress(Network.Main).ToString(); // The fallback address would be the main address
int hotBitcoinAddressId =
SwarmDb.GetDatabaseForWriting()
+1 -1
View File
@@ -67,7 +67,7 @@ namespace Swarmops.Logic.Financial
throw new NotEnoughFundsException("Insufficient funds", "Group argument", new Satoshis (satoshisRequired)); // Serving as a placeholder for now, also testing the notification
throw new NotImplementedException("This fundfinding path is not completed"); // TODO
// throw new NotImplementedException("This fundfinding path is not completed"); // TODO
}
public Int64 BalanceSatoshisTotal