aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-29 20:32:32 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-29 20:32:32 +0800
commitc8ee08c24bee9ab994822066f9abe94448c4ae89 (patch)
tree46a08904dee77a8e7b1a6a771dfeb5e73d47e81a /test
parent842b8cf323a3b39d9e29ddd831bc41ddb98279ad (diff)
downloaddexon-c8ee08c24bee9ab994822066f9abe94448c4ae89.tar
dexon-c8ee08c24bee9ab994822066f9abe94448c4ae89.tar.gz
dexon-c8ee08c24bee9ab994822066f9abe94448c4ae89.tar.bz2
dexon-c8ee08c24bee9ab994822066f9abe94448c4ae89.tar.lz
dexon-c8ee08c24bee9ab994822066f9abe94448c4ae89.tar.xz
dexon-c8ee08c24bee9ab994822066f9abe94448c4ae89.tar.zst
dexon-c8ee08c24bee9ab994822066f9abe94448c4ae89.zip
contract.js simplified
Diffstat (limited to 'test')
-rw-r--r--test/event.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/event.js b/test/event.js
index 0cc9c0c65..781f42e5e 100644
--- a/test/event.js
+++ b/test/event.js
@@ -7,13 +7,9 @@ describe('event', function () {
// given
var address = '0x012345';
var signature = '0x987654';
- var e = {
- name: 'test',
- type: 'event',
- };
// when
- var impl = event(e, address, signature);
+ var impl = event(address, signature);
var result = impl();
// then
@@ -23,3 +19,4 @@ describe('event', function () {
});
});
+