@relay-protocol/settlement-sdk 0.0.84 → 0.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -606,7 +606,7 @@ const getDecodedWithdrawalAmount = (decodedWithdrawal) => {
606
606
  }
607
607
  case "bitcoin-vm": {
608
608
  const psbt = bitcoin.Psbt.fromHex(decodedWithdrawal.withdrawal.psbt);
609
- const fee = psbt.getFee();
609
+ const fee = psbt.finalizeAllInputs().getFee();
610
610
  return (psbt.txOutputs[0].value + fee).toString();
611
611
  }
612
612
  case "hyperliquid-vm": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relay-protocol/settlement-sdk",
3
- "version": "0.0.84",
3
+ "version": "0.0.85",
4
4
  "description": "Relay protocol SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",