israellevin / eos-roulette

A roulette game over EOS smart contract
0 stars 1 forks source link

use of "account" name #5

Closed owlen closed 5 years ago

owlen commented 5 years ago

getAccount in roulette.js uses https://github.com/israellevin/eos-roulette/blob/40c60ca1006da1744c0fc87974c384f5a3952db1/roulette.js#L42

but https://github.com/israellevin/eos-roulette/blob/40c60ca1006da1744c0fc87974c384f5a3952db1/roulette.js#L26 sets account in another way. Are they same?

in inidex.html https://github.com/israellevin/eos-roulette/blob/40c60ca1006da1744c0fc87974c384f5a3952db1/index.html#L88 but later I use https://github.com/israellevin/eos-roulette/blob/40c60ca1006da1744c0fc87974c384f5a3952db1/index.html#L97 can (should?) roulette.js, just put all account info in one place, or are these not exactly the same?

israellevin commented 5 years ago

Fixed in 6992c0f009755dfcb98857776be87df4fa711365.