Merge branch 'master' of git.jimmykiselak.com:/usr/git/ncc into real
This commit is contained in:
commit
7143199c4a
2 changed files with 4 additions and 3 deletions
|
@ -154,7 +154,8 @@ public:
|
|||
|
||||
bool IsDust(const CFeeRate &minRelayTxFee) const
|
||||
{
|
||||
return (nValue < GetDustThreshold(minRelayTxFee));
|
||||
return false;
|
||||
// return (nValue < GetDustThreshold(minRelayTxFee));
|
||||
}
|
||||
|
||||
friend bool operator==(const CTxOut& a, const CTxOut& b)
|
||||
|
|
|
@ -342,8 +342,8 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
|
|||
string reason;
|
||||
BOOST_CHECK(IsStandardTx(t, reason));
|
||||
|
||||
t.vout[0].nValue = 501; // dust
|
||||
BOOST_CHECK(!IsStandardTx(t, reason));
|
||||
//t.vout[0].nValue = 501; // dust
|
||||
//BOOST_CHECK(!IsStandardTx(t, reason));
|
||||
|
||||
t.vout[0].nValue = 2730; // not dust
|
||||
BOOST_CHECK(IsStandardTx(t, reason));
|
||||
|
|
Loading…
Reference in a new issue