core-lightning/tests
Rusty Russell 25cb8caae8 onchaind: fix confusing message about delayed txs.
We say "in N blocks" but we actually mean "N blocks after this tx" which is
actually N-1 or less.  Change wording and tighten tests which misunderstood
this.

Also, the 'assert not l1.daemon.is_in_log('onchaind complete, forgetting peer')'
are unlikely to work until the daemon has actually seen the block, so add
sync_blockheight before all of those.

These changes reveal some sloppy testing, which we fix.
  
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-03-07 18:55:51 +01:00
..
benchmark.py Fix flake8 warnings 2018-02-26 12:38:00 +01:00
requirements.txt pytest: Using python-bitcoinlib instead of python-bitcoinrpc 2017-01-23 10:37:34 +01:00
test_lightningd.py onchaind: fix confusing message about delayed txs. 2018-03-07 18:55:51 +01:00
utils.py Fix flake8 warnings 2018-02-26 12:38:00 +01:00