1
This commit is contained in:
parent
a2d4c41a2f
commit
8141751474
@ -171,7 +171,7 @@ class PullBcEvent extends BaseService {
|
||||
while (true) {
|
||||
const nowTime = utils.getUtcTime();
|
||||
const returnValues = event['returnValues'];
|
||||
const hashCode = '';
|
||||
const hashCode = await this.calcHashCode(utils.jsonEncode(event));
|
||||
const {err} = await dbpool.execBcEventConn(
|
||||
app,
|
||||
'upsert',
|
||||
@ -238,7 +238,7 @@ class PullBcEvent extends BaseService {
|
||||
return logHead;
|
||||
}
|
||||
|
||||
async calcHash(data) {
|
||||
async calcHashCode(data) {
|
||||
return utils.sha1Str(data.toLowerCase().split("").sort().join(''));
|
||||
}
|
||||
|
||||
|
2
third_party/j7
vendored
2
third_party/j7
vendored
@ -1 +1 @@
|
||||
Subproject commit 90bc1d4fe9d25725c9de657e24b374c481b5e3c3
|
||||
Subproject commit c6aca25455dce4a1677adfca5b9ec3b5785f3b25
|
Loading…
x
Reference in New Issue
Block a user