Bugfix: Initialize CWallet::nOrderPosNext on an empty wallet, and save it in db
This commit is contained in:
@@ -392,6 +392,10 @@ int CWalletDB::LoadWallet(CWallet* pwallet)
|
||||
return DB_CORRUPT;
|
||||
}
|
||||
}
|
||||
else if (strType == "orderposnext")
|
||||
{
|
||||
ssValue >> pwallet->nOrderPosNext;
|
||||
}
|
||||
}
|
||||
pcursor->close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user