diff --git a/config.nims b/config.nims index 640ba6c5af..3d0493961c 100644 --- a/config.nims +++ b/config.nims @@ -55,7 +55,11 @@ switch("warning", "UnreachableElse:off") # Those are popular to miss in our app, and quickly make build log unreadable, so we want to prevent them switch("warningAsError", "UseBase:on") switch("warningAsError", "UnusedImport:on") +switch("warningAsError", "Deprecated:on") +switch("warningAsError", "HoleEnumConv:on") # Workaround for https://github.com/nim-lang/Nim/issues/23429 switch("warning", "UseBase:on") switch("warning", "UnusedImport:on") +switch("warning", "Deprecated:on") +switch("warning", "HoleEnumConv:on") diff --git a/src/app/modules/shared_modules/keycard_popup/controller.nim b/src/app/modules/shared_modules/keycard_popup/controller.nim index 81136db9f1..e2d68712d3 100644 --- a/src/app/modules/shared_modules/keycard_popup/controller.nim +++ b/src/app/modules/shared_modules/keycard_popup/controller.nim @@ -650,7 +650,7 @@ proc terminateCurrentFlow*(self: Controller, lastStepInTheCurrentFlow: bool, nex exportedEncryptionPubKey = flowEvent.generatedWalletAccounts[0].publicKey # encryption key is at position 0 if exportedEncryptionPubKey.len > 0: self.tmpFlowData.password = exportedEncryptionPubKey - for i in 0..< self.tmpRequestedPathsAlongWithAuthentication.len: + for i in 0..