Skip to content

Commit 6cf1aca

Browse files
committed
adding address to event
1 parent d35f5f2 commit 6cf1aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/Attestation.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ pragma solidity ^0.4.19;
22

33
contract Attestation {
44

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

77
function write(string _type,string _data) public returns (bool) {
8-
Attest(_type,_data);
8+
Attest(msg.sender,_type,_data);
99
return true;
1010
}
1111
}

0 commit comments

Comments
 (0)