lncli: strip prefix from pay_req flag
This commit is contained in:
5 files changed
+47
-3
No files matched your search
@@ -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