Skip to content

Change Date.now() to props.time #39

@joticajulian

Description

@joticajulian

In this line the time is taken from the local PC:
const expiration = new Date(Date.now() + this.expireTime) ...

However, if the computer clock is out of phase for at least 1 minute, the expiration time will be in the past and the broadcast will not work. I propose to take the time from the blockchain props.time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions