daemon/test: fix spending check.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2016-05-06 15:56:47 +09:30
parent 09de557c69
commit 082eaf406e

View File

@ -472,7 +472,7 @@ if [ -n "$STEAL" ]; then
# Node1 should get really upset; node2 should steal the transaction.
check_peerstate lcli1 STATE_ERR_INFORMATION_LEAK
check_peerstate lcli2 STATE_CLOSE_ONCHAIN_CHEATED
check_tx_spend
check_tx_spend lcli2
# Give it 100 blocks.
$CLI generate 100