| … | … | @@ -163,13 +163,11 @@ setInterval(async () => { |
| 163 | 163 | sig: await bogbot.find(hash) |
| 164 | 164 | } |
| 165 | 165 | obj.opened = await bogbot.open(obj.sig) |
| 166 | console.log(obj) | |
| 167 | 166 | obj.ts = obj.opened.substring(0, 13) |
| 168 | 167 | newArray.push(obj) |
| 169 | 168 | })) |
| 170 | 169 | |
| 171 | 170 | await newArray.sort((a,b) => a.ts - b.ts) |
| 172 | console.log(newArray) | |
| 173 | 171 | |
| 174 | 172 | const newLog = [] |
| 175 | 173 | |
| … | … | @@ -177,7 +175,6 @@ setInterval(async () => { |
| 177 | 175 | newLog.push(msg.hash) |
| 178 | 176 | }) |
| 179 | 177 | |
| 180 | console.log(newLog) | |
| 181 | 178 | log = newLog |
| 182 | 179 | newMessages = true |
| 183 | 180 | sort = false |