From 6c62e2070157ea9aaafd7164bffdd58067552cba Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 5 Jun 2015 12:43:16 +0930 Subject: [PATCH] Note that we should check their locktime, minconfirms etc. Signed-off-by: Rusty Russell --- open-anchor-scriptsigs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/open-anchor-scriptsigs.c b/open-anchor-scriptsigs.c index 8bd53119a..ab245a8ce 100644 --- a/open-anchor-scriptsigs.c +++ b/open-anchor-scriptsigs.c @@ -64,6 +64,9 @@ int main(int argc, char *argv[]) o1 = pkt_from_file(argv[1], PKT__PKT_OPEN)->open; o2 = pkt_from_file(argv[2], PKT__PKT_OPEN)->open; + /* FIXME: We should check that their locktime is sane here, + * since we're bound to it. Also min_confirms, etc. */ + /* Create merged transaction */ anchor = anchor_tx_create(ctx, o1, o2, &map, NULL); if (!anchor)