mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 16:23:39 +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;
|
||||
transaction["hfc_key"] = hfc_key;
|
||||
transaction["public_key"] = hfc_key;
|
||||
transaction["machine_fingerprint"] = machine_fingerprint;
|
||||
QJsonDocument transactionDoc{ transaction };
|
||||
auto transactionString = transactionDoc.toJson(QJsonDocument::Compact);
|
||||
|
|
|
@ -333,8 +333,8 @@ Wallet::Wallet() {
|
|||
<< _mustRegenerateKeypair << "keyFilePath:" << getKeyFilePath();
|
||||
_mustRegenerateKeypair = false;
|
||||
resetKeysOnly();
|
||||
ledger->reset();
|
||||
generateKeyPair();
|
||||
ledger->reset(); // Hits `reset_user_hfc_account` endpoint
|
||||
generateKeyPair(); // Hits `receive_at` endpoint
|
||||
}
|
||||
|
||||
if (wallet->getKeyFilePath() == "" || !wallet->getSecurityImage()) {
|
||||
|
|
Loading…
Reference in a new issue