Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rand( uint256 seedB ) returns (uint256){
- //define seedA variable
- uint256 seedA = 1;
- uint amount = 1 finney;
- if (seedA == seedB) {
- msg.sender.send(amount);
- }
- return seedA + seedB;
- }
- random.rand.sendTransaction(1,
- {from: eth.accounts[0],
- value: web3.toWei(.0001, 'ether'),
- to: '0x4abc14efad9a7a84a0a9ef6e1a782c43a9e3f550',
- gas: 500000, data: web3.fromAscii('message')})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement