]> Git Repo - VerusCoin.git/commitdiff
test
authorjl777 <[email protected]>
Sat, 26 Nov 2016 20:12:59 +0000 (17:12 -0300)
committerjl777 <[email protected]>
Sat, 26 Nov 2016 20:12:59 +0000 (17:12 -0300)
src/komodo_gateway.h

index a28ebe3477f3fb1db93ef4e81266a490899fce42..f49ab58aa164cb964e86de9f074e4f780d01f0ec 100644 (file)
@@ -678,9 +678,9 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
                 if ( (pax= komodo_paxfind(txids[i],vouts[i])) != 0 )
                 {
                     pax->type = opretbuf[0];
-                    if ( srcvalues[i] != 0 )
+                    if ( baseids[i] >= 0 && srcvalues[i] != 0 && (basesp= komodo_stateptrget(CURRENCIES[baseids[i]])) != 0 )
                     {
-                        pax->redeemed += srcvalues[i];
+                        basesp->redeemed += srcvalues[i];
                         pax->didstats = 1;
                     }
                 }
This page took 0.041243 seconds and 4 git commands to generate.