Skip to content

Commit ec16de7

Browse files
authored
Update source.sol
1 parent 46c6f41 commit ec16de7

File tree

1 file changed

+3
-1
lines changed
  • blockchain/UninitializedStoragePointer/RCTF2020/roiscoin

1 file changed

+3
-1
lines changed

blockchain/UninitializedStoragePointer/RCTF2020/roiscoin/source.sol

+3-1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ contract FakeOwnerGame {
9090
}
9191

9292
function revise(uint idx, bytes32 tmp) {
93-
codex[idx] = tmp;
93+
if(uint(msg.sender) & 0x61 == 0x61 && tx.origin != msg.sender) {
94+
codex[idx] = tmp;
95+
}
9496
}
9597
}

0 commit comments

Comments
 (0)