From 631710fdd2a39dc974008dab0ff77b50a6c5ce37 Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Mon, 18 Jun 2018 12:43:22 +0200 Subject: [PATCH] Map call to not implemented in dogecoin EstimateSmartFee as EstimateFee --- bchain/coins/dogecoin/dogecoinrpc.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bchain/coins/dogecoin/dogecoinrpc.go b/bchain/coins/dogecoin/dogecoinrpc.go index 84a28e7c..d0ebb31c 100644 --- a/bchain/coins/dogecoin/dogecoinrpc.go +++ b/bchain/coins/dogecoin/dogecoinrpc.go @@ -69,3 +69,8 @@ func (b *DogecoinRPC) GetBlock(hash string, height uint32) (*bchain.Block, error } return b.GetBlockWithoutHeader(hash, height) } + +// EstimateSmartFee returns fee estimation. +func (b *DogecoinRPC) EstimateSmartFee(blocks int, conservative bool) (float64, error) { + return b.EstimateFee(blocks) +}