]> Git Repo - VerusCoin.git/blobdiff - src/qt/coincontroldialog.cpp
Refactor: replace calls to GetTxid() with GetHash()
[VerusCoin.git] / src / qt / coincontroldialog.cpp
index 5aa3939c32f8b0fef5127ac4fb0878f7ea5ea041..6a527429e363756b259381cb1d79ac00ae7f500b 100644 (file)
@@ -496,7 +496,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog)
     {
         // unselect already spent, very unlikely scenario, this could happen
         // when selected are spent elsewhere, like rpc or another computer
-        uint256 txhash = out.tx->GetTxid();
+        uint256 txhash = out.tx->GetHash();
         COutPoint outpt(txhash, out.i);
         if (model->isSpent(outpt))
         {
@@ -782,7 +782,7 @@ void CoinControlDialog::updateView()
             nInputSum    += nInputSize;
 
             // transaction hash
-            uint256 txhash = out.tx->GetTxid();
+            uint256 txhash = out.tx->GetHash();
             itemOutput->setText(COLUMN_TXHASH, QString::fromStdString(txhash.GetHex()));
 
             // vout index
This page took 0.023584 seconds and 4 git commands to generate.