parse_new_tx doesn't need fee_rate

This commit is contained in:
Sosthene 2024-11-25 22:29:10 +01:00
parent 6350b29379
commit 0aa0c6817a

View File

@ -617,7 +617,7 @@ fn process_transaction(
}
#[wasm_bindgen]
pub fn parse_new_tx(new_tx_msg: String, block_height: u32, fee_rate: u32) -> ApiResult<ApiReturn> {
pub fn parse_new_tx(new_tx_msg: String, block_height: u32) -> ApiResult<ApiReturn> {
let new_tx: NewTxMessage = serde_json::from_str(&new_tx_msg)?;
if let Some(error) = new_tx.error {