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