daemon/test: Fix printing when getblock doesn't show tx.

Ran into this when machine was under massive load.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2016-03-24 12:10:42 +10:30
parent 994addadce
commit 04b4eb2f59

View File

@ -110,7 +110,7 @@ check_tx_spend()
:
else
echo "Block didn't include tx:" >&2
$($CLI getblock $($CLI getbestblockhash) ) >&2
$CLI getblock $($CLI getbestblockhash) >&2
exit 1
fi
}