up
This commit is contained in:
parent
67d0ed9f71
commit
bf57df908b
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import { CommitmentType, OpenChannelRequest } from "../../../proto/lnd/lightning";
|
import { CommitmentType, OpenChannelRequest } from "../../../proto/lnd/lightning.js";
|
||||||
|
|
||||||
export const OpenChannelReq = (destination: string, closeAddress: string, fundingAmount: number, pushSats: number): OpenChannelRequest => ({
|
export const OpenChannelReq = (destination: string, closeAddress: string, fundingAmount: number, pushSats: number): OpenChannelRequest => ({
|
||||||
nodePubkey: Buffer.from(destination, 'hex'),
|
nodePubkey: Buffer.from(destination, 'hex'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue