mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 15:14:19 +02:00
PR feedback
This commit is contained in:
parent
a726b01263
commit
f1ab91edd1
3 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// CommerceLogging.cpp
|
||||
// interface/interface/src/commerce
|
||||
// interface/src/commerce
|
||||
//
|
||||
// Created by Howard Stearns on 8/9/17.
|
||||
// Copyright 2017 High Fidelity, Inc.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// CommerceLogging.h
|
||||
// interface/src
|
||||
// interface/src/commerce
|
||||
//
|
||||
// Created by Howard Stearns on 8/9/17.
|
||||
// Copyright 2017 High Fidelity, Inc.
|
||||
|
|
|
@ -23,8 +23,8 @@ bool Ledger::buy(const QString& hfc_key, int cost, const QString& asset_id, cons
|
|||
transaction["asset_id"] = asset_id;
|
||||
transaction["inventory_key"] = inventory_key;
|
||||
transaction["inventory_buyer_username"] = buyerUsername;
|
||||
QJsonDocument transctionDoc{ transaction };
|
||||
QString transactionString = transctionDoc.toJson(QJsonDocument::Compact);
|
||||
QJsonDocument transactionDoc{ transaction };
|
||||
QString transactionString = transactionDoc.toJson(QJsonDocument::Compact);
|
||||
|
||||
auto wallet = DependencyManager::get<Wallet>();
|
||||
QString signature = wallet->signWithKey(transactionString, hfc_key);
|
||||
|
|
Loading…
Reference in a new issue