Skip to content

Commit

Permalink
arithmetic expansion syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
86667 committed Dec 2, 2019
1 parent 3961a85 commit d1341d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create_request.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ else
fi
fi

currentblockheight=`ocl getblockcount` # may have updated by now
currentblockheight=`ocl getblockcount` # may have updated by now
# Request start height = confirmation time bufffer + current height + auction duration
let start=1+$currentblockheight+$4
let start=$(( 1+$currentblockheight+$4 ))
# Request end height = request start height + request duration
let end=start+$5

Expand Down

0 comments on commit d1341d1

Please sign in to comment.