Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/251.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php AssertionError:缺少sha1,请确保正确配置了sjcl_Php_Blockchain_Blockchain.info Api - Fatal编程技术网

Php AssertionError:缺少sha1,请确保正确配置了sjcl

Php AssertionError:缺少sha1,请确保正确配置了sjcl,php,blockchain,blockchain.info-api,Php,Blockchain,Blockchain.info Api,我已经在我的API中实现了区块链钱包API。它具有创建钱包、发送、接收比特币等功能。与本地计算机配合良好 但相同的代码将在我的实时服务器上移动,它将给出如下错误 错误: AssertionError:缺少sha1,请确保正确配置了sjcl 在Object.stretchPassword(/usr/lib/node_modules/blockchain wallet service/node_modules/blockchain wallet client prebuilded/src/walle

我已经在我的API中实现了区块链钱包API。它具有创建钱包、发送、接收比特币等功能。与本地计算机配合良好

但相同的代码将在我的实时服务器上移动,它将给出如下错误 错误:

AssertionError:缺少sha1,请确保正确配置了sjcl

在Object.stretchPassword(/usr/lib/node_modules/blockchain wallet service/node_modules/blockchain wallet client prebuilded/src/wallet crypto.js:328:3)

在encryptDataWithPassword(/usr/lib/node_modules/blockchain wallet service/node_modules/blockchain wallet client prebuilded/src/wallet crypto.js:275:28)

在Object.encryptWallet(/usr/lib/node_modules/blockchain wallet service/node_modules/blockchain wallet client prebuilded/src/wallet crypto.js:136:14)

在insertWallet(/usr/lib/node_modules/blockchain wallet service/src/create.js:60:39)

在进程中。_tick回调(内部/process/next_tick.js:103:7)

此外,我已经成功地在我的服务器上安装了节点、npm和区块链钱包服务


如果有任何想法,请告诉我为什么它不起作用。

你让它起作用了吗?你让它起作用了吗?