mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-23 22:46:35 +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'}
|
||||
isMulti={true}
|
||||
maxWidth={'300px'}
|
||||
callback={p => setPeers(p.map(peer => peer.partner_public_key))}
|
||||
callback={p => setPeers(p.map(peer => peer.id))}
|
||||
/>
|
||||
<Separation />
|
||||
<ColorButton
|
||||
|
|
|
@ -119,13 +119,14 @@ export class InvoicesResolver {
|
|||
@Args('max_fee') max_fee: number,
|
||||
@Args('max_paths') max_paths: number,
|
||||
@Args('request') request: string,
|
||||
@Args('out', { nullable: true, type: () => [String] }) out: string[]
|
||||
@Args('out', { nullable: true, type: () => [String] })
|
||||
outgoing_channels: string[]
|
||||
) {
|
||||
const props = {
|
||||
max_fee,
|
||||
max_paths,
|
||||
request,
|
||||
out,
|
||||
outgoing_channels,
|
||||
};
|
||||
|
||||
this.logger.debug('Paying invoice with params', props);
|
||||
|
|
Loading…
Add table
Reference in a new issue