Skip to content

Commit

Permalink
UI: enable send dialog to create a pending object on successful send
Browse files Browse the repository at this point in the history
  • Loading branch information
zathras-crypto committed May 8, 2015
1 parent 0e110bb commit cdb919f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qt/sendmpdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ using namespace leveldb;
#include "mastercore_errors.h"
#include "omnicore_qtutils.h"
#include "omnicore_createpayload.h"
#include "omnicore_pending.h"

#include <QDateTime>
#include <QMessageBox>
Expand Down Expand Up @@ -346,7 +347,7 @@ void SendMPDialog::sendMPTransaction()
PopulateSimpleDialog(rawHex, "Raw Hex (auto commit is disabled)", "Raw transaction hex");
} else {
PopulateTXSentDialog(txid.GetHex());
//CreatePendingObject(txid, fromAddress.ToString, refAddress.ToString, MSC_TYPE_SIMPLE_SEND, propertyId, sendAmount);
PendingAdd(txid, fromAddress.ToString(), refAddress.ToString(), MSC_TYPE_SIMPLE_SEND, propertyId, sendAmount);
}
}
clearFields();
Expand Down

0 comments on commit cdb919f

Please sign in to comment.