Closed nkuba closed 1 year ago
Bitcoin Core RPC API defines the result of estimatesmartfee method to return a feerate property (see: https://developer.bitcoin.org/reference/rpc/estimatesmartfee.html#result).
estimatesmartfee
feerate
While Bcoin RPC API returns a fee property instead: https://github.com/bcoin-org/bcoin/blob/92433b24c4afcecc105063ebc66348515718bc36/lib/node/rpc.js#L2233-L2236
fee
The fee property should be renamed to feerate to maintain compatibility across the clients.
Fixed in https://github.com/bcoin-org/bcoin/commit/014a104899dcd9fafca1bcfea88203ed990a8e90
Bitcoin Core RPC API defines the result of
estimatesmartfee
method to return afeerate
property (see: https://developer.bitcoin.org/reference/rpc/estimatesmartfee.html#result).While Bcoin RPC API returns a
fee
property instead: https://github.com/bcoin-org/bcoin/blob/92433b24c4afcecc105063ebc66348515718bc36/lib/node/rpc.js#L2233-L2236The
fee
property should be renamed tofeerate
to maintain compatibility across the clients.