Commit 9bbb5d29 authored by Viktor Velev's avatar Viktor Velev

Working submit bet

parent d8fa5045
......@@ -14,7 +14,8 @@ function init(){
var inst;
var address = "0x925d23d5eeed4f79572b222038bc19d833977c3c";
var address = "0x732eb7a0d2f09fc1d6eb8779b44e32d61bd44e8f";
var acc;
//temp fix:
......
......@@ -87,9 +87,9 @@ export default class BetPage extends Component {
amount: raw[1].toFixed(),
betType: this.parseBetTypes([raw[2]]),
values: [ raw[3][0].toFixed(), raw[3][1].toFixed() ],
odds: parseInt(raw[4].toFixed()) / 100, userAddress: raw[5],
user: raw[6],
number: raw[7].toFixed()
odds: parseInt(raw[4].toFixed()) / 100,
user: raw[5],
number: raw[6].toFixed()
}
return bet
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment