creating receive address works.
This commit is contained in:
parent
17e2a8ff8e
commit
2d17a8a59e
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue