correct schema
This commit is contained in:
parent
8513493176
commit
29ef6eceba
1 changed files with 2 additions and 0 deletions
|
|
@ -146,6 +146,8 @@ exports.isStoredRequest = item => {
|
|||
const obj = /** @type {StoredRequest} */ (item)
|
||||
if (typeof obj.recipientPub !== 'string') return false
|
||||
if (typeof obj.handshakeAddress !== 'string') return false
|
||||
if (typeof obj.handshakeAddress !== 'string') return false
|
||||
if (typeof obj.timestamp !== 'number') return false
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue