Skip to content

Commit b254c91

Browse files
committed
09-localhost: fix getTimestampAtHeight to return timestamp as nanoseconds
Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
1 parent a50fd91 commit b254c91

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contracts/clients/09-localhost/LocalhostClient.sol

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ contract LocalhostClient is ILightClient, ILightClientErrors {
9494
} else if (height.revision_height > block.number) {
9595
revert InvalidHeightRevisionHeight();
9696
}
97-
// TODO
9897
return uint64(block.timestamp) * 1e9;
99-
// return uint64(block.timestamp);
10098
}
10199

102100
/**

0 commit comments

Comments
 (0)