Commit 34dd042e authored by mdj33's avatar mdj33 Committed by vipwzw

add ut

parent 3e9375be
...@@ -78,7 +78,8 @@ func (g *channelClient) GetTicketCount(ctx context.Context, in *types.ReqNil) (* ...@@ -78,7 +78,8 @@ func (g *channelClient) GetTicketCount(ctx context.Context, in *types.ReqNil) (*
// CloseTickets close ticket // CloseTickets close ticket
func (g *channelClient) CloseTickets(ctx context.Context, in *ty.TicketClose) (*types.ReplyHashes, error) { func (g *channelClient) CloseTickets(ctx context.Context, in *ty.TicketClose) (*types.ReplyHashes, error) {
data, err := g.ExecWalletFunc(ty.TicketX, "CloseTickets", in) inn := *in
data, err := g.ExecWalletFunc(ty.TicketX, "CloseTickets", &inn)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
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