chainfee: change min conf target to be 1

This commit changes the minBlockTarget used by the WebAPIEstimator to be
1, inline with the bitcoind's accepted min conf target.
This commit is contained in:
yyforyongyu committed 2021-06-29 20:25:46 +08:00
1 parent 5f0561fdbc
commit 1abc5f8b00
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -34,6 +34,6 @@ func TestFeeService(t *testing.T) {
require.NoError(t, err)
require.Equal(
t, "{\"fee_by_block_target\":{\"2\":20000}}", string(body),
t, "{\"fee_by_block_target\":{\"1\":20000}}", string(body),
)
}