mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2026-03-22 12:37:13 +11:00
fuckbees
This commit is contained in:
parent
9fcc36faa8
commit
29664c0032
1 changed files with 13 additions and 13 deletions
24
index.js
24
index.js
|
|
@ -196,24 +196,24 @@ fastify.get(
|
||||||
}*/
|
}*/
|
||||||
if(log){
|
if(log){
|
||||||
log.reverse()
|
log.reverse()
|
||||||
}
|
|
||||||
|
|
||||||
for(i = 0; i < log.length; i++){
|
|
||||||
|
|
||||||
|
|
||||||
if(log[i].amount > 0){
|
for(i = 0; i < log.length; i++){
|
||||||
let absol = Math.abs(log[i].amount)
|
|
||||||
let date = new Date(log[i].time * 1000)
|
|
||||||
transactionlog.push(`${log[i].counterparty} sent you ${absol} at ${date}`);
|
|
||||||
|
|
||||||
} else {
|
|
||||||
let date = new Date(log[i].time * 1000)
|
|
||||||
let absol = Math.abs(log[i].amount)
|
|
||||||
transactionlog.push(`You sent ${log[i].counterparty} ${absol} at ${date}`);
|
|
||||||
|
|
||||||
|
if(log[i].amount > 0){
|
||||||
|
let absol = Math.abs(log[i].amount)
|
||||||
|
let date = new Date(log[i].time * 1000)
|
||||||
|
transactionlog.push(`${log[i].counterparty} sent you ${absol} at ${date}`);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
let date = new Date(log[i].time * 1000)
|
||||||
|
let absol = Math.abs(log[i].amount)
|
||||||
|
transactionlog.push(`You sent ${log[i].counterparty} ${absol} at ${date}`);
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("begin render " + Date.now());
|
console.log("begin render " + Date.now());
|
||||||
|
|
||||||
//let maxgraph = balance + 1000;
|
//let maxgraph = balance + 1000;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue