1
This commit is contained in:
parent
a33920ed28
commit
ee0e02c304
@ -100,7 +100,7 @@ class BlockChain {
|
|||||||
const {err, row} = await conn.ormSelectOne(
|
const {err, row} = await conn.ormSelectOne(
|
||||||
't_parameter',
|
't_parameter',
|
||||||
[
|
[
|
||||||
['name', 'first_block_number']
|
['name', 'first_block_number.' + await this.getNetId() + '.']
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
if (!err && row) {
|
if (!err && row) {
|
||||||
|
@ -12,6 +12,8 @@ function add(clsNames, modName) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
add('BlockChain', 'blockchain');
|
||||||
|
add('EventProcess', 'event_process');
|
||||||
}
|
}
|
||||||
|
|
||||||
function create(name, session) {
|
function create(name, session) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user