Map calls to EstimateFee/EstimateSmartFee for dash and litecoin
This commit is contained in:
parent
f0d6c46af3
commit
ed7ddf7bb8
@ -53,3 +53,8 @@ func (b *DashRPC) Initialize() error {
|
|||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// EstimateSmartFee returns fee estimation.
|
||||||
|
func (b *DashRPC) EstimateSmartFee(blocks int, conservative bool) (float64, error) {
|
||||||
|
return b.EstimateFee(blocks)
|
||||||
|
}
|
||||||
|
|||||||
@ -54,3 +54,8 @@ func (b *LitecoinRPC) Initialize() error {
|
|||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// EstimateFee returns fee estimation.
|
||||||
|
func (b *LitecoinRPC) EstimateFee(blocks int) (float64, error) {
|
||||||
|
return b.EstimateSmartFee(blocks, true)
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user