Skip to content

Commit

Permalink
[DDW-330] Disable Yoroi ITN wallet restoration, Fix tx create/fee-est…
Browse files Browse the repository at this point in the history
…imate Api integration
  • Loading branch information
nikolaglumac committed Aug 3, 2020
1 parent eaecfba commit d71ce85
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
Expand Up @@ -13,5 +13,6 @@ export const createTransaction = (
path: `/v2/wallets/${walletId}/transactions/`,
...config,
},
{},
data
);
Expand Up @@ -13,5 +13,6 @@ export const getTransactionFee = (
path: `/v2/wallets/${walletId}/payment-fees`,
...config,
},
{},
data
);
Expand Up @@ -196,7 +196,9 @@ export default class WalletTypeDialog extends Component<Props, State> {
}
return {
key: kind,
disabled: !isShelleyActivated && kind.includes('Shelley'),
disabled:
(!isShelleyActivated && kind.includes('Shelley')) ||
kind === WALLET_YOROI_KINDS.SHELLEY_15_WORD,
label: <FormattedHTMLMessage {...msg} />,
selected: value === kind,
onChange: () => this.props.onSetWalletKind(kind, kindParam),
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/app/i18n/locales/defaultMessages.json
Expand Up @@ -13898,7 +13898,7 @@
"line": 78
},
"file": "storybook/stories/common/Widgets.stories.js",
"id": "appUpdate.manualUpdateOverlay.button.label",
"id": "manualUpdate.button.label",
"start": {
"column": 22,
"line": 74
Expand Down
1 change: 0 additions & 1 deletion source/renderer/app/i18n/locales/en-US.json
Expand Up @@ -17,7 +17,6 @@
"api.errors.invalidAddress": "Please enter a valid address.",
"api.errors.nothingToMigrate": "Funds cannot be transferred from this wallet because it contains some unspent transaction outputs (UTXOs), with amounts of ada that are too small to be migrated.",
"api.errors.utxoTooSmall": "Invalid transaction.",
"appUpdate.manualUpdateOverlay.button.label": "!!!Follow instructions and manually update",
"automaticUpdate.accept.button.label": "Restart Daedalus and Update",
"automaticUpdate.description1": "You are currently running Daedalus <b>{currentAppVersion}</b> and <b>{nextUpdateVersion}</b> is available.",
"automaticUpdate.description2": "Would you like to install the update? If choose to postpone, the update will be installed automatically on the next Daedalus launch.",
Expand Down
1 change: 0 additions & 1 deletion source/renderer/app/i18n/locales/ja-JP.json
Expand Up @@ -17,7 +17,6 @@
"api.errors.invalidAddress": "有効なアドレスを入力してください。",
"api.errors.nothingToMigrate": "このウォレットに保有されている未使用トランザクションアウトプット(UTXO)の一部に、移行するために十分なADAが入っていないため、このウォレットから資金を移すことはできません。",
"api.errors.utxoTooSmall": "無効なトランザクションです。",
"appUpdate.manualUpdateOverlay.button.label": "!!!Follow instructions and manually update",
"automaticUpdate.accept.button.label": "Daedalusを再起動して更新する",
"automaticUpdate.description1": "現在実行中のDaedalus <b>{currentAppVersion}</b>は<b>{nextUpdateVersion}</b>に更新できます。",
"automaticUpdate.description2": "今すぐ最新版をインストールしますか。更新を保留すると、Daedalusを次回起動する時に自動的にインストールされます。",
Expand Down

0 comments on commit d71ce85

Please sign in to comment.