Skip to content

Commit 37050ff

Browse files
authored
fix: async registerNC call (#646)
1 parent 2892428 commit 37050ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage/leveldb/store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ export default class LevelDBStore implements IStore {
405405
* @async
406406
*/
407407
async registerNanoContract(ncId: string, ncValue: INcData): Promise<void> {
408-
this.nanoContractIndex.registerNanoContract(ncId, ncValue);
408+
return this.nanoContractIndex.registerNanoContract(ncId, ncValue);
409409
}
410410

411411
/**

0 commit comments

Comments
 (0)