@@ -29,6 +29,7 @@ func (p *peerChannelsSvc) PeerChannelCreate(ctx context.Context, req spvchannels
29
29
spvchannels .WithPassword ("password" ),
30
30
spvchannels .WithVersion ("v1" ),
31
31
spvchannels .WithBaseURL (p .cfg .Host ),
32
+ spvchannels .WithPath (p .cfg .Path ),
32
33
spvchannels .WithNoTLS (),
33
34
)
34
35
ch , err := c .ChannelCreate (ctx , req )
@@ -40,6 +41,7 @@ func (p *peerChannelsSvc) PeerChannelCreate(ctx context.Context, req spvchannels
40
41
if err := p .str .PeerChannelCreate (ctx , & payd.PeerChannelCreateArgs {
41
42
PeerChannelAccountID : req .AccountID ,
42
43
ChannelHost : p .cfg .Host ,
44
+ ChannelPath : p .cfg .Path ,
43
45
ChannelID : ch .ID ,
44
46
ChannelType : payd .PeerChannelHandlerTypeProof ,
45
47
CreatedAt : createdAt ,
@@ -61,6 +63,7 @@ func (p peerChannelsSvc) PeerChannelAPITokensCreate(ctx context.Context, reqs ..
61
63
spvchannels .WithPassword ("password" ),
62
64
spvchannels .WithVersion ("v1" ),
63
65
spvchannels .WithBaseURL (p .cfg .Host ),
66
+ spvchannels .WithPath (p .cfg .Path ),
64
67
spvchannels .WithNoTLS (),
65
68
)
66
69
@@ -94,6 +97,7 @@ func (p *peerChannelsSvc) PeerChannelsMessage(ctx context.Context, args *payd.Pe
94
97
spvchannels .WithChannelID (args .ChannelID ),
95
98
spvchannels .WithVersion ("v1" ),
96
99
spvchannels .WithBaseURL (p .cfg .Host ),
100
+ spvchannels .WithPath (p .cfg .Path ),
97
101
spvchannels .WithNoTLS (),
98
102
)
99
103
msgs , err := c .Messages (ctx , spvchannels.MessagesRequest {
0 commit comments