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
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