mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-23 12:38:07 +01:00
lncli: strip prefix from pay_req flag
This commit is contained in:
@@ -292,7 +292,7 @@ func decodePayReq(ctx *cli.Context) error {
|
||||
}
|
||||
|
||||
resp, err := client.DecodePayReq(ctxc, &lnrpc.PayReqString{
|
||||
PayReq: payreq,
|
||||
PayReq: stripPrefix(payreq),
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user