Submitting this because I dont have the time (or resources) to debug this atm and need a self-reminder:
On Win32 walletpassphrase does not appear to relock after the designated amount of time as it should and as it does on Linux.
Can someone check this on OSX as well?

{
    AssertLockHeld(cs_);
    std::map<uint256, CWaetTx>::const_iterator it = mapWaet.find(hash);
    if (it == mapWaet.end())
        return nuptr;
    return &(it->second);
}
void CWaet::UpgradeKeyMetadata()