From fa4a11c3a7ebfd9e66bcb50cc74896bb3c5a47f3 Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Thu, 28 Mar 2019 11:24:20 +0100 Subject: [PATCH] Fix bcash EstimateSmartFee functionality --- bchain/coins/bch/bcashrpc.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bchain/coins/bch/bcashrpc.go b/bchain/coins/bch/bcashrpc.go index a57154bb..79500773 100644 --- a/bchain/coins/bch/bcashrpc.go +++ b/bchain/coins/bch/bcashrpc.go @@ -195,3 +195,9 @@ func (b *BCashRPC) EstimateFee(blocks int) (big.Int, error) { } return r, nil } + +// EstimateSmartFee returns fee estimation +func (b *BCashRPC) EstimateSmartFee(blocks int, conservative bool) (big.Int, error) { + // EstimateSmartFee is not supported by bcash + return b.EstimateFee(blocks) +}