]> Git Repo - VerusCoin.git/commitdiff
Test
authorjl777 <[email protected]>
Sat, 28 Jul 2018 11:40:42 +0000 (00:40 -1100)
committerjl777 <[email protected]>
Sat, 28 Jul 2018 11:40:42 +0000 (00:40 -1100)
src/cc/rewards.cpp

index 68ad3cc6cbb61c6d5305dce94499588ea75664ce..b6a83c15e01d04e4e0db0cc4b568bcee830e7cea 100644 (file)
@@ -119,8 +119,10 @@ uint8_t DecodeRewardsOpRet(uint256 txid,const CScript &scriptPubKey,uint64_t &sb
             if ( script[1] == 'F' )
             {
                 if ( E_UNMARSHAL(vopret,ss >> e; ss >> f; ss >> sbits; ss >> APR; ss >> minseconds; ss >> maxseconds; ss >> mindeposit) != 0 )
+                {
                     fundingtxid = txid;
-                else fprintf(stderr,"unmarshal error for F\n");
+                    return('F');
+                } else fprintf(stderr,"unmarshal error for F\n");
             }
             else if ( E_UNMARSHAL(vopret,ss >> e; ss >> f; ss >> sbits; ss >> fundingtxid) != 0 )
             {
This page took 0.023745 seconds and 4 git commands to generate.