This commit is contained in:
aozhiwei 2022-02-14 18:46:33 +08:00
parent 9baf30e445
commit 6c70028354

View File

@ -263,7 +263,7 @@ class BoxOrder {
while (true) {
try {
const fromBlock = Math.max(this.getMintBlockNumber() - 1000, 0);
events = await bc.mallInstance.getPastEvents(
events = await bc.factoryInstance.getPastEvents(
'TokenMinted',
{
fromBlock: fromBlock,