Advertisement
Guest User

Untitled

a guest
Apr 29th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. function test()
  2. {
  3. lastblocknumberused = (block.number-1) ;
  4. lastblockhashused = block.blockhash(lastblocknumberused);
  5. }
  6.  
  7. function getTest1() constant returns (uint) {
  8. return uint(lastblockhashused) & 0xfff;
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement