mirror of
https://github.com/trezor/blockbook.git
synced 2026-03-15 12:07:23 +01:00
Map calls to EstimateFee/EstimateSmartFee for dash and litecoin
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user