Minor fix in shell script
@@ -26,7 +26,7 @@ function fetch_root_hash {
SELECT encode(root_hash, 'hex') FROM blocks, last_block WHERE blocks.number = last_block.number;"
# By piping we make `psql` simply return value instead of drawing the table.
# `xargs` is used to trim spaces around the value.
- BLOCK_HASH=`echo $QUERY | psql "postgres://postgres@localhost/plasma" -t | xargs`
+ BLOCK_HASH=`echo $QUERY | psql "$DATABASE_URL" -t | xargs`
if [ -z "$BLOCK_HASH" ]
then
