Skip to content

Commit 874a023

Browse files
committed
fix: policy issue after merging old commit
1 parent b874eb6 commit 874a023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/policy/policy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ bool IsStandardTx(const CTransaction& tx, const std::optional<unsigned>& max_dat
174174
return false;
175175

176176
} else if (IsDust(txout, dust_relay_fee)) {
177-
if ((tx.nVersion != TRANSACTION_COORDINATE_ASSET_CREATE_VERSION && tx.nVersion != TRANSACTION_COORDINATE_ASSET_TRANSFER_VERSION && tx.nVersion != TRANSACTION_PRECONF_VERSION) || txout.nValue == 0) {
177+
if ((tx.version != TRANSACTION_COORDINATE_ASSET_CREATE_VERSION && tx.version != TRANSACTION_COORDINATE_ASSET_TRANSFER_VERSION && tx.version != TRANSACTION_PRECONF_VERSION) || txout.nValue == 0) {
178178
reason = "dust";
179179
return false;
180180
}

0 commit comments

Comments
 (0)