| 1714 | return [res.txType, res.txInfo, res.messageToSign]; |
| 1715 | } |
| 1716 | setLastRestRequestTimestamp() { |
| 1717 | // hand-written per language (not transpiled): in most languages this is a |
| 1718 | // plain assignment, but the Go implementation guards the write with a mutex |
| 1719 | // because concurrent requests would otherwise data-race on this field |
| 1720 | this.lastRestRequestTimestamp = this.milliseconds(); |
| 1721 | } |
| 1722 | setLastRequest(request) { |
| 1723 | // hand-written per language (not transpiled): plain assignments in most |
| 1724 | // languages, but the Go implementation guards the writes with a mutex because |