rpc: display the cltv expiry in decoded pay req

This commit is contained in:
Olaoluwa Osuntokun
2017-10-18 22:16:40 -07:00
parent 22881ec05e
commit bdc4d09b25

View File

@@ -2905,6 +2905,7 @@ func (r *rpcServer) DecodePayReq(ctx context.Context,
DescriptionHash: hex.EncodeToString(descHash[:]),
FallbackAddr: fallbackAddr,
Expiry: expiry,
CltvExpiry: int64(payReq.MinFinalCLTVExpiry()),
}, nil
}