message: update the JS glue function
diff: @@ -170,21 +170,20 @@ export const verify = (module, config, tx, xpub, signature) => {
  return result === 0
  };
  -export const selectInputs = (module, inputs, amount) => {
  +export const computeFee = (module, inputs) => {
  const input_str = JSON.stringify(inputs);
  const input_array = iconv.encode(input_str, 'utf8');
  const bufinput = newArray(module, input_array);
  const bufoutput = newArray0(module, 1024);
  - let rsz = module.wallet_filter_utxos(bufinput, input_array.length, amount, bufoutput);
  + let rsz = module.wallet_filter_utxos(bufinput, input_array.length, bufoutput);
  let output_array = copyArray(module, bufoutput, rsz);
  module.dealloc(bufoutput);
  module.dealloc(bufinput);
  let output_str = iconv.decode(Buffer.from(output_array), 'utf8');
  - console.log(output_str);
  return JSON.parse(output_str);
  };
  @@ -196,5 +195,5 @@ export default {
  addOutput: apply(addOutput, RustModule),
  sign: apply(sign, RustModule),
  verify: apply(verify, RustModule),
  - selectInputs: apply(selectInputs, RustModule),
  + computeFee: apply(computeFee, RustModule),
  };
  