Skip to content

Commit f67b79c

Browse files
authored
fix: blocked staking rewards error scenario [LW-11916] (#3248)
Signed-off-by: Dominik Guzei <[email protected]>
1 parent 899701a commit f67b79c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

source/renderer/app/api/api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,8 @@ export default class AdaApi {
10191019
.set('conwayWalletNotDelegatedToDRep')
10201020
.where('code', 'created_invalid_transaction')
10211021
.inc('message', 'ConwayWdrlNotDelegatedToDRep')
1022+
.set('conwayWalletNotDelegatedToDRep')
1023+
.where('code', 'withdrawal_not_possible_without_vote')
10221024
.set('transactionIsTooBig', true, {
10231025
linkLabel: 'tooBigTransactionErrorLinkLabel',
10241026
linkURL: 'tooBigTransactionErrorLinkURL',

source/renderer/app/i18n/locales/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"api.errors.WalletAlreadyImportedError": "Wallet you are trying to import already exists.",
3535
"api.errors.WalletAlreadyRestoredError": "Wallet you are trying to restore already exists.",
3636
"api.errors.WalletFileImportError": "Wallet could not be imported, please make sure you are providing a correct file.",
37-
"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",
37+
"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.",
3838
"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.",
3939
"api.errors.invalidAddress": "Please enter a valid address.",
4040
"api.errors.invalidSmashServer": "This URL is not a valid SMASH server",

source/renderer/app/i18n/locales/ja-JP.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"api.errors.WalletAlreadyImportedError": "インポートしようとしているウォレットは既に存在します。",
3535
"api.errors.WalletAlreadyRestoredError": "復元しようとしているウォレットは既に存在します。",
3636
"api.errors.WalletFileImportError": "ウォレットをインポートできませんでした。有効なファイルを指定していることを確認してください。",
37-
"api.errors.conwayWalletNotDelegatedToDRep": "ステーキング報酬がブロックされているため、このトランザクションを処理できません。報酬のブロックを解除するには、<a href=\"/#/voting/governance\">Cardano投票権の委任タブ</a>に移動し、投票権を委任してください。",
37+
"api.errors.conwayWalletNotDelegatedToDRep": "ステーキング報酬がブロックされているため、このトランザクションを処理できません。報酬のブロックを解除するには、<a href=\"#/voting/governance\">Cardano投票権の委任タブ</a>に移動し、投票権を委任してください。",
3838
"api.errors.inputsDepleted": "このウォレットには報酬として得られた資金しか入っていません。<br />資金を使用するには1ADA以上をウォレットに入金してください。",
3939
"api.errors.invalidAddress": "有効なアドレスを入力してください。",
4040
"api.errors.invalidSmashServer": "このURLは有効なSMASHサーバーではありません",

0 commit comments

Comments
 (0)