Commit 2ad7ca35 authored by jiangpeng's avatar jiangpeng Committed by vipwzw

fix fmt

parent ce907e03
......@@ -85,7 +85,7 @@ func (c *Jrpc) ShowPrivacyAccountSpend(in *pty.ReqPrivBal4AddrToken, result *jso
return err
}
// ShowPrivacykey display privacy key for json rpc
// ShowPrivacyKey display privacy key for json rpc
func (c *Jrpc) ShowPrivacyKey(in *types.ReqString, result *json.RawMessage) error {
reply, err := c.cli.ShowPrivacyKey(context.Background(), in)
if err != nil {
......@@ -106,7 +106,7 @@ func (c *Jrpc) CreateUTXOs(in *pty.ReqCreateUTXOs, result *interface{}) error {
return nil
}
// PrivacyTxList get all privacy transaction list by param
// GetPrivacyTxByAddr get all privacy transaction list by param
func (c *Jrpc) GetPrivacyTxByAddr(in *pty.ReqPrivacyTransactionList, result *interface{}) error {
if in.Direction != 0 && in.Direction != 1 {
return types.ErrInvalidParam
......
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