Skip to content
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

fix: blocked staking rewards error scenario [LW-11916] #3248

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions source/renderer/app/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,8 @@ export default class AdaApi {
.set('conwayWalletNotDelegatedToDRep')
.where('code', 'created_invalid_transaction')
.inc('message', 'ConwayWdrlNotDelegatedToDRep')
.set('conwayWalletNotDelegatedToDRep')
.where('code', 'withdrawal_not_possible_without_vote')
.set('transactionIsTooBig', true, {
linkLabel: 'tooBigTransactionErrorLinkLabel',
linkURL: 'tooBigTransactionErrorLinkURL',
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/app/i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"api.errors.WalletAlreadyImportedError": "Wallet you are trying to import already exists.",
"api.errors.WalletAlreadyRestoredError": "Wallet you are trying to restore already exists.",
"api.errors.WalletFileImportError": "Wallet could not be imported, please make sure you are providing a correct file.",
"api.errors.conwayWalletNotDelegatedToDRep": "Daedalus cannot process this transaction because of blocked staking rewards. To unblock your rewards go to the <a href=\"/#/voting/governance\">Cardano voting power delegation tab</a> and delegate your voting power",
"api.errors.conwayWalletNotDelegatedToDRep": "Daedalus cannot process this transaction because of blocked staking rewards. To unblock your rewards go to the <a href=\"#/voting/governance\">Cardano voting power delegation tab</a> and delegate your voting power.",
"api.errors.inputsDepleted": "Your wallet contains only reward funds.<br />Please send at least 1 ADA to your wallet so that you can spend the funds.",
"api.errors.invalidAddress": "Please enter a valid address.",
"api.errors.invalidSmashServer": "This URL is not a valid SMASH server",
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/app/i18n/locales/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"api.errors.WalletAlreadyImportedError": "インポートしようとしているウォレットは既に存在します。",
"api.errors.WalletAlreadyRestoredError": "復元しようとしているウォレットは既に存在します。",
"api.errors.WalletFileImportError": "ウォレットをインポートできませんでした。有効なファイルを指定していることを確認してください。",
"api.errors.conwayWalletNotDelegatedToDRep": "ステーキング報酬がブロックされているため、このトランザクションを処理できません。報酬のブロックを解除するには、<a href=\"/#/voting/governance\">Cardano投票権の委任タブ</a>に移動し、投票権を委任してください。",
"api.errors.conwayWalletNotDelegatedToDRep": "ステーキング報酬がブロックされているため、このトランザクションを処理できません。報酬のブロックを解除するには、<a href=\"#/voting/governance\">Cardano投票権の委任タブ</a>に移動し、投票権を委任してください。",
"api.errors.inputsDepleted": "このウォレットには報酬として得られた資金しか入っていません。<br />資金を使用するには1ADA以上をウォレットに入金してください。",
"api.errors.invalidAddress": "有効なアドレスを入力してください。",
"api.errors.invalidSmashServer": "このURLは有効なSMASHサーバーではありません",
Expand Down