Fix TX dictionary element name on logs

Before this patch the element name was not being shown.
This commit is contained in:
Felipe Zimmerle 2017-03-29 14:49:57 -03:00
parent 5f60bb5224
commit 4d03ef512e
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -33,7 +33,7 @@ namespace Variables {
class Tx_DictElement : public Variable {
public:
explicit Tx_DictElement(std::string dictElement)
: Variable("TX"),
: Variable("TX:" + dictElement),
m_dictElement("TX:" + dictElement) { }
void evaluate(Transaction *transaction,