Skip to content

Commit

Permalink
shade, wallet version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
quarkonium committed May 26, 2018
1 parent 70d978b commit fd13958
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/dions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1968,10 +1968,16 @@ bool searchAliasEncrypted2(string alias, uint256& wtxInHash)
continue;

const int nHeight = tx.GetHeightInMainChain();

if(nHeight == -1)
continue;

assert(nHeight >= 0);

const int ex = nHeight + scaleMonitor() - pindexBest->nHeight;
if(ex <= 0)
continue;

string strAddress = "";
aliasAddress(tx, strAddress);
string decrypted;
Expand Down

0 comments on commit fd13958

Please sign in to comment.