This commit is contained in:
aozhiwei 2023-06-12 19:55:54 +08:00
parent a33920ed28
commit ee0e02c304
2 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class BlockChain {
const {err, row} = await conn.ormSelectOne(
't_parameter',
[
['name', 'first_block_number']
['name', 'first_block_number.' + await this.getNetId() + '.']
]
);
if (!err && row) {

View File

@ -12,6 +12,8 @@ function add(clsNames, modName) {
}
function init() {
add('BlockChain', 'blockchain');
add('EventProcess', 'event_process');
}
function create(name, session) {