mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-05 23:24:21 +01:00
protocol: move locktime into its own message type.
We're going to want this for HTLC times, too. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -19,5 +19,5 @@ struct sha256;
|
||||
Sha256Hash *sha256_to_proto(const tal_t *ctx, const struct sha256 *hash);
|
||||
void proto_to_sha256(const Sha256Hash *pb, struct sha256 *hash);
|
||||
|
||||
bool proto_to_locktime(const OpenChannel *o, uint32_t *locktime);
|
||||
bool proto_to_locktime(const Locktime *l, uint32_t *locktime);
|
||||
#endif /* LIGHTNING_PROTOBUF_CONVERT_H */
|
||||
|
||||
Reference in New Issue
Block a user