Skip to content

Commit

Permalink
Merge pull request #81 from commerceblock/master
Browse files Browse the repository at this point in the history
Merge Master back to Develop
  • Loading branch information
Nikos Kostoulas authored Dec 2, 2019
2 parents 3961a85 + 8009d55 commit e02421b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/create_request.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ 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
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"`
Expand Down

0 comments on commit e02421b

Please sign in to comment.