Skip to content

Commit a479321

Browse files
committed
Fix interface
1 parent 4e36f4e commit a479321

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

divi/src/I_UtxoPriorityAlgorithm.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#ifndef I_UTXO_PRIORITY_ALGORITHM_H
22
#define I_UTXO_PRIORITY_ALGORITHM_H
3+
#include <amount.h>
34
struct InputToSpendAndSigSize;
45
class I_UtxoPriorityAlgorithm
56
{
67
public:
78
virtual ~I_UtxoPriorityAlgorithm(){}
8-
virtual bool operator()(const InputToSpendAndSigSize& first, const InputToSpendAndSigSize& second) const = 0;
9+
virtual bool operator()(const CAmount targetAmount, const InputToSpendAndSigSize& first, const InputToSpendAndSigSize& second) const = 0;
910
};
1011
#endif //I_UTXO_PRIORITY_ALGORITHM_H

0 commit comments

Comments
 (0)