Merge pull request #49 from krlosMata/feature/fix-smt-update

fix smt update
This commit is contained in:
Jordi Baylina
2020-08-31 17:14:45 +02:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@@ -58,10 +58,10 @@ class SMT {
res.newRoot = rtNew;
await this.db.multiDel(dels);
await this.db.multiIns(ins);
await this.db.setRoot(rtNew);
this.root = rtNew;
await this.db.multiDel(dels);
return res;
}