aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index 60a00e9208..2ee918fdab 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -1325,7 +1325,7 @@ vector<unsigned char> 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());