Disables EstimateFee for Bitcoin and Myriad

pull/70/head
Jakub Matys 2018-10-03 12:29:44 +02:00
parent 2aaf2fe137
commit 3f843889ee
2 changed files with 2 additions and 0 deletions

View File

@ -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 {

View File

@ -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
}