File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -433,6 +433,12 @@ func payInvoice(ctx *cli.Context) error {
433433 var assetID asset.ID
434434 copy (assetID [:], assetIDBytes )
435435
436+ rfqPeerKey , err := hex .DecodeString (ctx .String (rfqPeerPubKeyFlag .Name ))
437+ if err != nil {
438+ return fmt .Errorf ("unable to decode RFQ peer public key: " +
439+ "%w" , err )
440+ }
441+
436442 tapdConn , cleanup , err := connectTapdClient (ctx )
437443 if err != nil {
438444 return fmt .Errorf ("error creating tapd connection: %w" , err )
@@ -457,6 +463,7 @@ func payInvoice(ctx *cli.Context) error {
457463 stream , err := tchrpcClient .SendPayment (
458464 ctx , & tchrpc.SendPaymentRequest {
459465 AssetId : assetIDBytes ,
466+ PeerPubkey : rfqPeerKey ,
460467 PaymentRequest : req ,
461468 },
462469 )
You can’t perform that action at this time.
0 commit comments