mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
rpc: display the cltv expiry in decoded pay req
This commit is contained in:
parent
22881ec05e
commit
bdc4d09b25
1 changed files with 1 additions and 0 deletions
|
@ -2905,6 +2905,7 @@ func (r *rpcServer) DecodePayReq(ctx context.Context,
|
|||
DescriptionHash: hex.EncodeToString(descHash[:]),
|
||||
FallbackAddr: fallbackAddr,
|
||||
Expiry: expiry,
|
||||
CltvExpiry: int64(payReq.MinFinalCLTVExpiry()),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue