Skip to content

Commit

Permalink
vsp: Don't export Policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock authored and jrick committed Apr 24, 2023
1 parent d95475b commit 816f16d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/vsp/feepayment.go
Expand Up @@ -215,7 +215,7 @@ func (c *Client) feePayment(ctx context.Context, ticketHash *chainhash.Hash, pai
client: c,
ctx: ctx,
ticketHash: *ticketHash,
policy: c.Policy,
policy: c.policy,
}

// No VSP interaction is required for spent tickets.
Expand Down
4 changes: 2 additions & 2 deletions internal/vsp/vsp.go
Expand Up @@ -29,7 +29,7 @@ type Policy struct {

type Client struct {
wallet *wallet.Wallet
Policy Policy
policy Policy
*vspd.Client

mu sync.Mutex
Expand Down Expand Up @@ -79,7 +79,7 @@ func New(cfg Config) (*Client, error) {

v := &Client{
wallet: cfg.Wallet,
Policy: cfg.Policy,
policy: cfg.Policy,
Client: client,
jobs: make(map[chainhash.Hash]*feePayment),
}
Expand Down

0 comments on commit 816f16d

Please sign in to comment.