Skip to content

Commit d35f5f2

Browse files
committed
updated contract and test fix
1 parent ba3b79b commit d35f5f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/Attestation.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pragma solidity ^0.4.19;
22

33
contract Attestation {
44

5-
event Attest(string indexed _type,string _data);
5+
event Attest(string _type,string _data);
66

77
function write(string _type,string _data) public returns (bool) {
88
Attest(_type,_data);

test/5_attestation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ contract('Attestation', function(accounts) {
1111
});
1212

1313
it("should write to blockchain", function() {
14-
return attestationInstance.write('_entity1','_entity2','_type','_data').then(function(instance){
14+
return attestationInstance.write('_type','_data').then(function(instance){
1515
assert.isDefined(instance,"should be able to write to blockchain")
1616
}).catch(function(error){
1717
assert.isUndefined(error,"should be able to write to blockchain")

0 commit comments

Comments
 (0)