Skip to content

Commit

Permalink
Fixing withdrawal status issue (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang authored Dec 5, 2024
1 parent 010bb28 commit 00778e5
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 69 deletions.
4 changes: 2 additions & 2 deletions dydx/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- Abacus (1.13.39)
- Abacus (1.13.40)
- AmplitudeSwift (1.11.0):
- AnalyticsConnector (~> 1.3.0)
- AnalyticsConnector (1.3.1)
Expand Down Expand Up @@ -382,7 +382,7 @@ CHECKOUT OPTIONS:
:git: https://github.com/dydxprotocol/Charts.git

SPEC CHECKSUMS:
Abacus: 84c8bb011360ee85933a6936c4f8e241e688af45
Abacus: d4c1dbb3d8cdd7d9f257dc7307a3cce7ad4e87a8
AmplitudeSwift: e5358d20f14b92ac311243d7fb02df0fe64df1b3
AnalyticsConnector: 3def11199b4ddcad7202c778bde982ec5da0ebb3
AppsFlyerFramework: ad7ff0d22aa36c7f8cc4f71a5424e19b89ccb8ae
Expand Down
6 changes: 3 additions & 3 deletions dydx/Pods/Local Podspecs/abacus.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dydx/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

116 changes: 58 additions & 58 deletions dydx/Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class dydxTransferInputCtaButtonViewPresenter: HostedViewPresenter<dydxTradeInpu
case let .result(hash, error):
if let error = error {
self?.showError(error: error)
} else if let hash = hash {
} else if let hash = hash?.lowercased() {
self?.sendOnboardingAnalytics()
self?.transferAnalytics.logDeposit(transferInput: transferInput)
self?.addTransferHash(hash: hash,
Expand Down Expand Up @@ -357,15 +357,15 @@ class dydxTransferInputCtaButtonViewPresenter: HostedViewPresenter<dydxTradeInpu
type: .error,
error: nil, time: nil)
} else if let hash = result["transactionHash"] as? String {
let fullHash = "0x" + hash
let fullHash = "0x" + hash.lowercased()
addTransferHash(hash: fullHash,
fromChainName: AbacusStateManager.shared.environment?.chainName,
toChainName: transferInput.chainName ?? transferInput.networkName,
transferInput: transferInput)
showTransferStatus(hash: fullHash, transferInput: transferInput)
resetInputFields()
} else if let hash = result["hash"] as? String {
let fullHash = "0x" + hash
let fullHash = "0x" + hash.lowercased()
addTransferHash(hash: fullHash,
fromChainName: AbacusStateManager.shared.environment?.chainName,
toChainName: transferInput.chainName ?? transferInput.networkName,
Expand Down
2 changes: 1 addition & 1 deletion podspecs/Abacus.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'Abacus'
spec.version = '1.13.39'
spec.version = '1.13.40'
spec.homepage = 'https://github.com/dydxprotocol/v4-abacus'
spec.source = { :git => "[email protected]:dydxprotocol/v4-abacus.git", :tag => "v#{spec.version}" }
spec.authors = ''
Expand Down

0 comments on commit 00778e5

Please sign in to comment.