* @param {string} fromAddress * @param {string} toAddress * @param {number} amount
(fromAddress, toAddress, amount)
| 11 | * @param {number} amount |
| 12 | */ |
| 13 | constructor(fromAddress, toAddress, amount) { |
| 14 | this.fromAddress = fromAddress; |
| 15 | this.toAddress = toAddress; |
| 16 | this.amount = amount; |
| 17 | this.timestamp = Date.now(); |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Creates a SHA256 hash of the transaction |
nothing calls this directly
no outgoing calls
no test coverage detected