Skip to content

Commit

Permalink
Merge pull request #53 from frankcrypto2023/main
Browse files Browse the repository at this point in the history
fix tx timestamp
  • Loading branch information
dindinw authored Jul 29, 2024
2 parents 0aeb099 + 1c7db61 commit dfd6e9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/txsign.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function TxSigner (network = Network.privnet) {
this.__inputs = []
this.__network = network
this.__tx = new Transaction()
this.__tx.timestamp = (Date.now()/1000)
}

TxSigner.newSigner = function (network) {
Expand Down

0 comments on commit dfd6e9d

Please sign in to comment.