You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to be compatible with different language versions of the clients, we need to use uint64 to receive deadline in coinswap msgs instead of time.Time.
The text was updated successfully, but these errors were encountered:
Hmm, seems int64 is better
Because the system uses int64 for Unix Time conversion, Unix Time itself can be negative, representing the time before 1970. Although we will never use it, using int64 can prevent us from doing another meaningless conversion.
In order to be compatible with different language versions of the clients, we need to use
uint64
to receivedeadline
in coinswap msgs instead oftime.Time
.The text was updated successfully, but these errors were encountered: