-
Notifications
You must be signed in to change notification settings - Fork 51
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
编译后执行example/main.go中testTransfer报错 #19
Comments
Now |
@qizheng09 您好,使用BAAS尝试了建立自己网络,建立普通节点后, 使用sdk链接节点列表中显示的IP报错连接超时 |
在发送交易时会读取 config 文件 xuper-sdk-go/transfer/transfer.go
在 config 模块中含有 config 文件路径,可按需修改为自己的 config 文件路径
在 config 文件中需指明背书服务器的地址,如默认本地环境可更换为 127.0.0.1:37101
此外该背书服务器在启动链时需开启背书服务,该服务可通过区块链的配置文件进行修改(编译后在 output/conf/xchain.yaml 下进行修改)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
账户余额查询正确,执行transfer报错,错误信息如下:
2020/08/05 15:58:44 PreExecWithSelecUTXO EndorserCall failed, err: rpc error: code = DeadlineExceeded desc = context deadline exceeded
2020/08/05 15:58:44 Transfer PreExecWithSelecUTXO failed, err: EndorserCall error! Response is: rpc error: code = DeadlineExceeded desc = context deadline exceeded
Transfer err: EndorserCall error! Response is: rpc error: code = DeadlineExceeded desc = context deadline exceeded
transfer tx:
The text was updated successfully, but these errors were encountered: