We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411c2c8 commit ec2908eCopy full SHA for ec2908e
src/peersafe/app/table/impl/TableSync.cpp
@@ -908,6 +908,11 @@ void TableSync::CreateTableItems()
908
}
909
910
//2.read from state table
911
+ if (!bAutoLoadTable_)
912
+ {
913
+ //if auto_sync=0, will not load db tables with field auto_sync = 1
914
+ return;
915
+ }
916
auto ledger = app_.getLedgerMaster().getValidatedLedger();
917
//read chainId
918
uint256 chainId = TableSyncUtil::GetChainId(ledger.get());
0 commit comments