diff --git a/src/wallet.cpp b/src/wallet.cpp index 60a00e920..2ee918fda 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());