mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
User nonce validation and expiration. (#164)
This commit is contained in:
@@ -185,6 +185,8 @@ function HotPocketClient(server, keys, protocol = protocols.BSON) {
|
||||
|
||||
if (!nonce)
|
||||
nonce = (new Date()).getTime().toString();
|
||||
else
|
||||
nonce = nonce.toString();
|
||||
|
||||
// Acquire the current lcl and add the specified offset.
|
||||
const stat = await this.getStatus();
|
||||
|
||||
Reference in New Issue
Block a user