Skip to content

Commit

Permalink
remove readded fn
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaSripal committed Feb 5, 2025
1 parent 7821890 commit a8dc5b5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions modules/core/04-channel/v2/types/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package types

import (
"strings"
"time"

errorsmod "cosmossdk.io/errors"

Expand Down Expand Up @@ -79,8 +78,3 @@ func (p Payload) ValidateBasic() error {
}
return nil
}

// TimeoutTimestampToNanos takes seconds as a uint64 and returns Unix nanoseconds as uint64.
func TimeoutTimestampToNanos(seconds uint64) uint64 {
return uint64(time.Unix(int64(seconds), 0).UnixNano())
}

0 comments on commit a8dc5b5

Please sign in to comment.