Tests fix
This commit is contained in:
parent
18045b3a7c
commit
23cb64026a
|
@ -163,7 +163,7 @@ function buyFromWizard(addr, tokens) {
|
||||||
|
|
||||||
function buyFromBridge(addr) {
|
function buyFromBridge(addr) {
|
||||||
attachToContract("left", function(err, contract, web3) {
|
attachToContract("left", function(err, contract, web3) {
|
||||||
web3.eth.sendTransaction({from: web3.eth.defaultAccount, value: 1000000000000000, from: addr, to: db.home_contract_address}).then(function(err, result) {
|
web3.eth.sendTransaction({value: 1000000000000000, from: addr, to: db.home_contract_address}).then(function(err, result) {
|
||||||
console.log("buy from left:");
|
console.log("buy from left:");
|
||||||
if (err) console.log(err);
|
if (err) console.log(err);
|
||||||
console.log("result: " + result);
|
console.log("result: " + result);
|
||||||
|
|
Loading…
Reference in New Issue