Skip to content

Commit

Permalink
Merge pull request #185 from Jongjan88/fix
Browse files Browse the repository at this point in the history
Return the fee in satoshis for a size of 1000 bytes
  • Loading branch information
gto90 authored Mar 7, 2024
2 parents e6bb518 + f5805b1 commit de8ca5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/policy/feerate.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CFeeRate
/**
* Return the fee in satoshis for a size of 1000 bytes
*/
CAmount GetFeePerK() const { return GetFee(100000); }
CAmount GetFeePerK() const { return GetFee(1000); }
friend bool operator<(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK < b.nSatoshisPerK; }
friend bool operator>(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK > b.nSatoshisPerK; }
friend bool operator==(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK == b.nSatoshisPerK; }
Expand Down

0 comments on commit de8ca5c

Please sign in to comment.