aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-03-05 16:29:37 -0500
committerAndrew Chow <achow101-github@achow101.com>2018-03-13 12:39:17 -0400
commit0185939be6f7c5554b864e33657ce610fd434e18 (patch)
tree638323d15efce6c4768ea6c79d41ab3cd1a50925 /src/wallet/wallet.h
parentf84fed8eb6a8518a54a997044e55332dd37e223d (diff)
Implement Branch and Bound coin selection in a new file
Create a new file for coin selection logic and implement the BnB algorithm in it.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 89dc4f399c..a2fab3c88e 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -509,6 +509,7 @@ public:
outpoint = COutPoint(walletTx->GetHash(), i);
txout = walletTx->tx->vout[i];
+ effective_value = txout.nValue;
}
COutPoint outpoint;