Disables EstimateFee for Bitcoin and Myriad
This commit is contained in:
parent
2aaf2fe137
commit
3f843889ee
@ -122,6 +122,7 @@ func (b *BitcoinRPC) GetChainInfoAndInitializeMempool(bc bchain.BlockChain) (str
|
|||||||
|
|
||||||
// Initialize initializes BitcoinRPC instance.
|
// Initialize initializes BitcoinRPC instance.
|
||||||
func (b *BitcoinRPC) Initialize() error {
|
func (b *BitcoinRPC) Initialize() error {
|
||||||
|
b.ChainConfig.SupportsEstimateFee = false
|
||||||
|
|
||||||
chainName, err := b.GetChainInfoAndInitializeMempool(b)
|
chainName, err := b.GetChainInfoAndInitializeMempool(b)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@ -24,6 +24,7 @@ func NewMyriadRPC(config json.RawMessage, pushHandler func(bchain.NotificationTy
|
|||||||
b.(*btc.BitcoinRPC),
|
b.(*btc.BitcoinRPC),
|
||||||
}
|
}
|
||||||
s.RPCMarshaler = btc.JSONMarshalerV2{}
|
s.RPCMarshaler = btc.JSONMarshalerV2{}
|
||||||
|
s.ChainConfig.SupportsEstimateFee = false
|
||||||
|
|
||||||
return s, nil
|
return s, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user