@xchainjs/xchain-doge 0.5.0 → 0.5.2

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.
package/lib/index.esm.js CHANGED
@@ -86702,8 +86702,10 @@ const buildTx = ({ amount, recipient, memo, feeRate, sender, network, sochainUrl
86702
86702
  throw new Error('Balance insufficient for transaction');
86703
86703
  const psbt = new src_9$1({ network: dogeNetwork(network) }); // Network-specific
86704
86704
  // TODO: Doge recommended fees is greater than the recommended by Bitcoinjs-lib (for BTC),
86705
- // so we need to increase the maximum fee rate. Currently, the fast rate fee is near ~650000sats/byte
86706
- psbt.setMaximumFeeRate(650000);
86705
+ // so we need to increase the maximum fee rate. Currently, the fast rate fee is near ~750000sats/byte
86706
+ // https://thornode.ninerealms.com/thorchain/inbound_addresses?height=7526662 (09-27-2022)
86707
+ // For now we increase it by 10x
86708
+ psbt.setMaximumFeeRate(7500000);
86707
86709
  const params = { sochainUrl, network, address: sender };
86708
86710
  for (const utxo of inputs) {
86709
86711
  psbt.addInput({