mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 21:36:47 +02:00
Fix seeding
This commit is contained in:
parent
3190fe1f32
commit
7995f50fab
2 changed files with 3 additions and 3 deletions
|
@ -111,7 +111,7 @@ bool Ledger::receiveAt(const QString& hfc_key, const QString& old_key, const QSt
|
||||||
}
|
}
|
||||||
|
|
||||||
QJsonObject transaction;
|
QJsonObject transaction;
|
||||||
transaction["hfc_key"] = hfc_key;
|
transaction["public_key"] = hfc_key;
|
||||||
transaction["machine_fingerprint"] = machine_fingerprint;
|
transaction["machine_fingerprint"] = machine_fingerprint;
|
||||||
QJsonDocument transactionDoc{ transaction };
|
QJsonDocument transactionDoc{ transaction };
|
||||||
auto transactionString = transactionDoc.toJson(QJsonDocument::Compact);
|
auto transactionString = transactionDoc.toJson(QJsonDocument::Compact);
|
||||||
|
|
|
@ -333,8 +333,8 @@ Wallet::Wallet() {
|
||||||
<< _mustRegenerateKeypair << "keyFilePath:" << getKeyFilePath();
|
<< _mustRegenerateKeypair << "keyFilePath:" << getKeyFilePath();
|
||||||
_mustRegenerateKeypair = false;
|
_mustRegenerateKeypair = false;
|
||||||
resetKeysOnly();
|
resetKeysOnly();
|
||||||
ledger->reset();
|
ledger->reset(); // Hits `reset_user_hfc_account` endpoint
|
||||||
generateKeyPair();
|
generateKeyPair(); // Hits `receive_at` endpoint
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wallet->getKeyFilePath() == "" || !wallet->getSecurityImage()) {
|
if (wallet->getKeyFilePath() == "" || !wallet->getSecurityImage()) {
|
||||||
|
|
Loading…
Reference in a new issue