diff options
| author | Gregory Sanders <[email protected]> | 2019-02-19 17:00:45 -0500 |
|---|---|---|
| committer | Gregory Sanders <[email protected]> | 2019-04-29 10:15:23 -0400 |
| commit | 70946e7fee54323ce6a5ea8aeb377e2c7c790bc6 (patch) | |
| tree | 8214716fc7275e3b32bc0c28bdfab5df44ad6a4f /src/qt/coincontroldialog.cpp | |
| parent | Merge #15866: test: Add missing syncwithvalidationinterfacequeue to wallet_im... (diff) | |
| download | discoin-70946e7fee54323ce6a5ea8aeb377e2c7c790bc6.tar.xz discoin-70946e7fee54323ce6a5ea8aeb377e2c7c790bc6.zip | |
Replace CScriptID and CKeyID in CTxDestination with dedicated types
Diffstat (limited to 'src/qt/coincontroldialog.cpp')
| -rw-r--r-- | src/qt/coincontroldialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/coincontroldialog.cpp b/src/qt/coincontroldialog.cpp index 0d9f1adcd..6c9bae767 100644 --- a/src/qt/coincontroldialog.cpp +++ b/src/qt/coincontroldialog.cpp @@ -471,8 +471,8 @@ void CoinControlDialog::updateLabels(WalletModel *model, QDialog* dialog) else if(ExtractDestination(out.txout.scriptPubKey, address)) { CPubKey pubkey; - CKeyID *keyid = boost::get<CKeyID>(&address); - if (keyid && model->wallet().getPubKey(*keyid, pubkey)) + PKHash *pkhash = boost::get<PKHash>(&address); + if (pkhash && model->wallet().getPubKey(CKeyID(*pkhash), pubkey)) { nBytesInputs += (pubkey.IsCompressed() ? 148 : 180); } |