PR feedback

This commit is contained in:
howard-stearns 2017-08-09 12:41:16 -07:00
parent a726b01263
commit f1ab91edd1
3 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -1,6 +1,6 @@
//
// CommerceLogging.h
// interface/src
// interface/src/commerce
//
// Created by Howard Stearns on 8/9/17.
// Copyright 2017 High Fidelity, Inc.

View file

@ -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);