diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -1160,8 +1160,9 @@ "Error adding address to wallet"); } - // add to address book or update label - if (IsValidDestination(dest)) { + // if not internal add to address book or update label + if (!internal) { + assert(IsValidDestination(dest)); pwallet->SetAddressBook(dest, label, "receive"); } @@ -1426,7 +1427,7 @@ " \"redeemscript\": \"