@exodus/solana-api 2.5.30-patch → 2.5.30

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/tx-send.js +1 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-api",
3
- "version": "2.5.30-patch",
3
+ "version": "2.5.30",
4
4
  "description": "Exodus internal Solana asset API wrapper",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -34,5 +34,5 @@
34
34
  "devDependencies": {
35
35
  "@exodus/assets-testing": "file:../../../__testing__"
36
36
  },
37
- "gitHead": "9ec7084bcdfe14f1c6f11df393351885773046a6"
37
+ "gitHead": "5270d4cf5f0a0ae9486533f237e6abe6f026ed16"
38
38
  }
package/src/tx-send.js CHANGED
@@ -140,10 +140,7 @@ export const createAndBroadcastTXFactory = (api) => async (
140
140
  ? asset.currency.ZERO
141
141
  : amount.abs().negate()
142
142
 
143
- const data = isStakingTx
144
- ? { staking: { ...stakingParams, stake: coinAmount.toBaseNumber() } }
145
- : Object.create(null)
146
-
143
+ const data = isStakingTx ? { staking: stakingParams } : Object.create(null)
147
144
  const tx = {
148
145
  txId,
149
146
  confirmations: 0,