Fix issue if BTC taker fee validation requested before DAO state is ready.

This commit is contained in:
jmacxx 2023-08-16 10:18:27 -05:00
parent ec9a3b6491
commit e208b3f0c1
No known key found for this signature in database
GPG Key ID: 155297BABFE94A1B

View File

@ -300,6 +300,10 @@ public class MempoolService {
log.info("MempoolService only supports mainnet"); log.info("MempoolService only supports mainnet");
return false; return false;
} }
if (!canRequestBeMade()) {
log.info("Tx Validation bypassed as service is not ready");
return false;
}
return true; return true;
} }
} }