-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS-7766 [Staking] Binance #4088
base: develop
Are you sure you want to change the base?
Conversation
… restaking validator
…otification on summary
@@ -98,7 +98,6 @@ class EthereumTransactionBuilder { | |||
input.toAddress = destination | |||
|
|||
input.transaction = .with { transaction in | |||
input.toAddress = destination |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ух, сначала напугался, потом увидел что задублировался код )
private extension Blockchain { | ||
var stakeKitNetworkID: String { | ||
switch self { | ||
case .bsc: "binance" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Опять эти расхождения стремные(
А глянь плиз может networkId заюзать можно, или там не то будет тоже?
case .pending(let pendingAction): | ||
switch pendingAction { | ||
case .restake(let passthrough): | ||
coordinator?.openRestakingFlow(action: action) | ||
default: coordinator?.openStakingSingleActionFlow(action: action) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
case .pending(let pendingAction): | |
switch pendingAction { | |
case .restake(let passthrough): | |
coordinator?.openRestakingFlow(action: action) | |
default: coordinator?.openStakingSingleActionFlow(action: action) | |
} | |
case .pending(.restake): | |
coordinator?.openRestakingFlow(action: action) | |
case .pending: | |
coordinator?.openStakingSingleActionFlow(action: action) |
Добавлена поддержка флоу рестейкинга. Также исправлен флоу анстейкинга: в нем была проблема с валидацией вводимой суммы.