]> Git Repo - VerusCoin.git/blobdiff - src/komodo_gateway.h
Sync with latest Komodo changes
[VerusCoin.git] / src / komodo_gateway.h
index 9de6b4fc968e7971c71b588617f2c5e6360b4715..6a8ef310bf4ae78aa0ebe582e23b01ad0f092cce 100644 (file)
@@ -1490,7 +1490,7 @@ void komodo_passport_iteration()
             komodo_statefname(fname,baseid<32?base:(char *)"",(char *)"realtime");
             if ( (fp= fopen(fname,"wb")) != 0 )
             {
-                buf[0] = (uint32_t)chainActive.Tip()->nHeight;
+                buf[0] = (uint32_t)chainActive.LastTip()->nHeight;
                 buf[1] = (uint32_t)komodo_longestchain();
                 if ( buf[0] != 0 && buf[0] == buf[1] )
                 {
This page took 0.023968 seconds and 4 git commands to generate.