Skip to content

Commit

Permalink
Tidy testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bokkypoobah committed Dec 10, 2017
1 parent 715369e commit d8806ed
Show file tree
Hide file tree
Showing 4 changed files with 401 additions and 401 deletions.
4 changes: 2 additions & 2 deletions test/deploymentData.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
libBTTSAddress=0x7eb71decdcb22ca6049d60933cec23451659ac7c
factoryAddress=0x38d135023e9142251680f817b7f8bf5c45942cea
libBTTSAddress=0xcba3446221eaad5f03a413e070be7978bcf5beb9
factoryAddress=0xe17585e1e925353038159ca920ff19f47207d0a0
2 changes: 1 addition & 1 deletion test/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ function printTokenContractDetails() {
var approvalEvents = contract.Approval({}, { fromBlock: tokenFromBlock, toBlock: latestBlock });
i = 0;
approvalEvents.watch(function (error, result) {
console.log("RESULT: Approval " + i++ + " #" + result.blockNumber + " owner=" + result.args.owner +
console.log("RESULT: Approval " + i++ + " #" + result.blockNumber + " tokenOwner=" + result.args.tokenOwner +
" spender=" + result.args.spender + " tokens=" + result.args.tokens.shift(-decimals));
});
approvalEvents.stopWatching();
Expand Down
Loading

0 comments on commit d8806ed

Please sign in to comment.