Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function test()
- {
- lastblocknumberused = (block.number-1) ;
- lastblockhashused = block.blockhash(lastblocknumberused);
- }
- function getTest1() constant returns (uint) {
- return uint(lastblockhashused) & 0xfff;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement