@shapeshiftoss/swapper 8.5.0 → 8.5.1
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.
|
@@ -174,7 +174,7 @@ const performIbcTransfer = async (input, adapter, wallet, blockBaseUrl, denom, s
|
|
|
174
174
|
})();
|
|
175
175
|
const latestBlock = responseLatestBlock.data.block.header.height;
|
|
176
176
|
const bip44Params = adapter.buildBIP44Params({
|
|
177
|
-
accountNumber:
|
|
177
|
+
accountNumber: 0 // TODO: Use real accountNumbers
|
|
178
178
|
});
|
|
179
179
|
const path = (0, chain_adapters_1.toPath)(bip44Params);
|
|
180
180
|
const addressNList = (0, hdwallet_core_1.bip32ToAddressNList)(path);
|
|
@@ -232,7 +232,7 @@ const buildTradeTx = async ({ osmoAddress, adapter, trade, buyAssetDenom, sellAs
|
|
|
232
232
|
const accountNumber = responseAccount.chainSpecific.accountNumber || '0';
|
|
233
233
|
const sequence = responseAccount.chainSpecific.sequence || '0';
|
|
234
234
|
const bip44Params = adapter.buildBIP44Params({
|
|
235
|
-
accountNumber:
|
|
235
|
+
accountNumber: 0 // TODO: Use real accountNumbers
|
|
236
236
|
});
|
|
237
237
|
const path = (0, chain_adapters_1.toPath)(bip44Params);
|
|
238
238
|
const osmoAddressNList = (0, hdwallet_core_1.bip32ToAddressNList)(path);
|
package/package.json
CHANGED