Add Google's LevelDB support
[novacoin.git] / src / checkpoints.cpp
index 7f3f3c8..1ffe1cb 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "checkpoints.h"
 
-#include "db.h"
+#include "txdb.h"
 #include "main.h"
 #include "uint256.h"
 
@@ -23,7 +23,11 @@ namespace Checkpoints
 
     Checkpoint initCheckpoint(uint256 hashCheckPoint, unsigned int nTime)
     {
-        return {hashCheckPoint, nTime};
+        Checkpoint item;
+        item.hashCheckPoint = hashCheckPoint;
+        item.nTime = nTime;
+
+        return item;
     }
 
     //