diff --git a/src/wallet.cpp b/src/wallet.cpp index 60a00e92..2ee918fd 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -1325,7 +1325,7 @@ vector CReserveKey::GetReservedKey() else { printf("CReserveKey::GetReservedKey(): Warning: using default key instead of a new key, top up your keypool."); - vchPubKey = vchDefaultKey; + vchPubKey = pwallet->vchDefaultKey; } } assert(!vchPubKey.empty());