Skip to content

Commit

Permalink
update c-sdk docs (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
ywy2090 committed Sep 27, 2022
1 parent d0d3380 commit 808c4ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 3.x/zh_CN/docs/develop/sdk/c_sdk/appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
构造签名交易有两种方式,根据是否能获取私钥进行区分:

- 直接构造签名交易: 可以加载签名私钥,直接构造签名交易
- 交易构造与签名分离: 这种情况下私钥因安全等因素由其他服务托管,交易签名需要由其他服务完成
- 交易构造与签名分离: 这种情况下私钥因安全等因素由其他服务托管,交易构造由本地完成,交易签名需要由其他服务完成

### 直接构造签名交易

Expand Down Expand Up @@ -47,10 +47,10 @@ bcos_sdk_create_signed_transaction: 构造签名交易
bcos_sdk_create_transaction_data
# 计算交易哈希
bcos_sdk_calc_transaction_data_hash
# 交易哈希签名,该流程由签名服务进行
# 交易哈希签名,该流程由签名服务实施
bcos_sdk_sign_transaction_data_hash
# 构造签名交易
bcos_sdk_create_signed_transaction_with_signed_data: 创建签名的交易
bcos_sdk_create_signed_transaction_with_signed_data
```

参考[示例](https://github.com/FISCO-BCOS/bcos-c-sdk/blob/v3.0.1/sample/tx/hello_sample.c#L305)

0 comments on commit 808c4ba

Please sign in to comment.