Skip to content

Commit

Permalink
ctx.WalletConnection -> ctx.WalletConnection.RPCClient()
Browse files Browse the repository at this point in the history
  • Loading branch information
itswisdomagain committed Sep 19, 2019
1 parent cbfbfba commit 145d222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/stakepoold/rpc/rpcserver/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ func (ctx *AppContext) GetTicketInfo(ticketHash string) (ticketInfo *TicketInfo,
return
}

res, err := ctx.WalletConnection.GetTransaction(hash)
res, err := ctx.WalletConnection.RPCClient().GetTransaction(hash)
if err != nil {
log.Errorf("GetTicketInfo: GetTransaction rpc failed: %v", err)
return
Expand Down

0 comments on commit 145d222

Please sign in to comment.