0

我正在使用 Libindy 1.8.2 并尝试导入我的钱包以在成功导出钱包后恢复我的帐户。但是,我从 indy 导入方法中得到错误:

Error Domain = IndyErrorDomain Code=114 "(null)" UserInfo={message=Error: IO error Caused by: No such file or directory (os error 2) , indy_backtrace=}

在导入钱包中,我发送:

importConfigJson = {"path":"file:///var/mobile/Containers/Data/Application/D62D0B32-2FE4-4871-8B7D-ABFF84A574D1/Documents/walletData","key":"copens 解散巨人 bunraku uppitynesses serviceablenesses brazenness里拉香蕉装备绝热魔法"}

凭据= {“密钥”:“GqcA6WLrVAUUwVgTYAiekbMScmUMjwQM1Jb2KzuyeMbc”}

withConfig = {"id": "steward_wallet","storage_type":"default"}

当我尝试在我的 importConfig 中给出相对路径时:

路径= “/var/mobile/Containers/Data/Application/D62D0B32-2FE4-4871-8B7D-ABFF84A574D1/Documents/walletData”</p>

由于内存问题,我的应用程序崩溃了。您能否指导我在哪里犯了错误或任何方式,以便我可以成功导入我的钱包。谢谢你。

4

1 回答 1

0

The second variant of path in importConfigJson seems correct. I suggest to try to import minimal (almost empty) wallet. It will allow to check a correlation between the memory issue and wallet size.

于 2020-03-03T11:01:28.737 回答