creating receive address works.

This commit is contained in:
Christopher Jeffrey 2014-11-03 13:49:55 -08:00
parent 17e2a8ff8e
commit 2d17a8a59e
1 changed files with 2 additions and 1 deletions

View File

@ -4621,7 +4621,8 @@ NAN_METHOD(WalletChangeLabel) {
// walletdb.WritePurpose(address.ToString(), std::string("receive")); // walletdb.WritePurpose(address.ToString(), std::string("receive"));
CKeyID keyID; CKeyID keyID;
address.GetKeyID(keyID); address.GetKeyID(keyID);
pwalletMain->SetAddressBook(keyID, accountName, "receive"); //pwalletMain->SetAddressBook(keyID, accountName, "receive");
pwalletMain->SetAddressBook(address.Get(), accountName, "receive");
} }
} }