Commit 2782550d authored by liuyuhang's avatar liuyuhang

modify md file

parent 4cc4256c
## 本地查看自己所修改模块lint warning的命令:
## 本地查看自己所修改模块lint warning的命令:
......@@ -14,7 +14,7 @@ func CalcWalletPassKey() []byte {
return []byte(keyWalletPassKey)
}
```
**注:如果是某些函数或者变量没有必要exported的话,首字母改为小写就不需要注释了**
> 注:如果是某些函数或者变量没有必要exported的话,首字母改为小写就不需要注释了
```
func calcWalletPassKey() []byte {
return []byte(keyWalletPassKey)
......@@ -52,7 +52,7 @@ var (
}
}
```
改为
改为:
```
if head == nil {
blockhight := chain.GetBlockHeight()
......@@ -69,7 +69,7 @@ var (
```
func (this *UpdateInitFileTask) genInitFile() error {}
```
改为
改为:
```
func (up *UpdateInitFileTask) genInitFile() error {}
```
......@@ -90,7 +90,7 @@ func (store *walletStore) GetFeeAmount(minFee int64) int64 {
return FeeAmount
}
```
改为
改为:
```
func (ws *walletStore) SetFeeAmount(FeeAmount int64) error {
....
......@@ -109,7 +109,7 @@ func (ws *walletStore) GetFeeAmount(minFee int64) int64 {
return errors.New(fmt.Sprintf("Action %s Not Existed", this.ActionName))
}
```
改为
改为:
```
index := strings.Index(context, this.ActionName)
if index < 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment