mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-24 06:47:41 +01:00
Merge branch 'master' of https://github.com/apotdevin/thunderhub
This commit is contained in:
commit
ccbc1814f6
2 changed files with 4 additions and 3 deletions
|
@ -139,7 +139,7 @@ export const Pay: React.FC<PayProps> = ({ predefinedRequest, payCallback }) => {
|
||||||
title={'Out Channels'}
|
title={'Out Channels'}
|
||||||
isMulti={true}
|
isMulti={true}
|
||||||
maxWidth={'300px'}
|
maxWidth={'300px'}
|
||||||
callback={p => setPeers(p.map(peer => peer.partner_public_key))}
|
callback={p => setPeers(p.map(peer => peer.id))}
|
||||||
/>
|
/>
|
||||||
<Separation />
|
<Separation />
|
||||||
<ColorButton
|
<ColorButton
|
||||||
|
|
|
@ -119,13 +119,14 @@ export class InvoicesResolver {
|
||||||
@Args('max_fee') max_fee: number,
|
@Args('max_fee') max_fee: number,
|
||||||
@Args('max_paths') max_paths: number,
|
@Args('max_paths') max_paths: number,
|
||||||
@Args('request') request: string,
|
@Args('request') request: string,
|
||||||
@Args('out', { nullable: true, type: () => [String] }) out: string[]
|
@Args('out', { nullable: true, type: () => [String] })
|
||||||
|
outgoing_channels: string[]
|
||||||
) {
|
) {
|
||||||
const props = {
|
const props = {
|
||||||
max_fee,
|
max_fee,
|
||||||
max_paths,
|
max_paths,
|
||||||
request,
|
request,
|
||||||
out,
|
outgoing_channels,
|
||||||
};
|
};
|
||||||
|
|
||||||
this.logger.debug('Paying invoice with params', props);
|
this.logger.debug('Paying invoice with params', props);
|
||||||
|
|
Loading…
Add table
Reference in a new issue