diff --git a/scripts/create_request.sh b/scripts/create_request.sh index 8b12ca8..3e1a71c 100755 --- a/scripts/create_request.sh +++ b/scripts/create_request.sh @@ -149,9 +149,9 @@ fi currentblockheight=`ocl getblockcount` # may have updated by now # Request start height = confirmation time bufffer + current height + auction duration -let start=$(( 1+$currentblockheight+$4 )) +start=$(( 1+$currentblockheight+$4 )) # Request end height = request start height + request duration -let end=start+$5 +end=$(( start+$5 )) # Address permission tokens will be locked in pub=`ocl validateaddress $(ocl getnewaddress | jq -r '.') | jq -r ".pubkey"`