ergoplatform / ergo-appkit

Appkit: A Library for Java/Scala/Kotlin Development of Ergo Applications
MIT License
38 stars 27 forks source link

Allow signing of transactions restricting preHeader.timestamp #195

Closed MrStahlfelge closed 1 year ago

MrStahlfelge commented 1 year ago

Signing a transaction restricting the preHeader.timestamp to be at least a time between now and the last found block was not possible, because Appkit's PreHeader set its timestamp to the last found block.

This PR uses current system time, if higher than last found block.