Map calls to EstimateFee/EstimateSmartFee for dash and litecoin

This commit is contained in:
Martin Boehm 2018-06-18 13:39:05 +02:00
parent f0d6c46af3
commit ed7ddf7bb8
2 changed files with 10 additions and 0 deletions

View File

@ -53,3 +53,8 @@ func (b *DashRPC) Initialize() error {
return nil
}
// EstimateSmartFee returns fee estimation.
func (b *DashRPC) EstimateSmartFee(blocks int, conservative bool) (float64, error) {
return b.EstimateFee(blocks)
}

View File

@ -54,3 +54,8 @@ func (b *LitecoinRPC) Initialize() error {
return nil
}
// EstimateFee returns fee estimation.
func (b *LitecoinRPC) EstimateFee(blocks int) (float64, error) {
return b.EstimateSmartFee(blocks, true)
}