• Wladimir J. van der Laan's avatar
    Make sure that GetRandomBytes never fails · 65e3a1e7
    Wladimir J. van der Laan authored
    We're using GetRandomBytes in several contexts where it's either
    unwieldy to return an error, or an error would mean a fatal exception
    anyhow.
    
    @gmaxwell checked OpenSSL a while ago and discovered that it never
    actually fails, but it can't hurt to be a bit paranoid here.
    65e3a1e7
wallet.cpp 76.3 KB