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