mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Disable tx sig checking at the Application level:
* Only skip sig checking on the RPC/Websocket interface. * Used by Env tests which submit unsigned transactions.
This commit is contained in:
committed by
Nik Bougalis
parent
1b378172b6
commit
8e842b5893
@@ -546,6 +546,9 @@ transactionConstructImpl (std::shared_ptr<STTx const> const& stpTrans,
|
||||
|
||||
// Check the signature if that's called for.
|
||||
auto sttxNew = std::make_shared<STTx const> (sit);
|
||||
if (!app.checkSigs())
|
||||
forceValidity(app.getHashRouter(),
|
||||
sttxNew->getTransactionID(), Validity::SigGoodOnly);
|
||||
if (checkValidity(app.getHashRouter(),
|
||||
*sttxNew, rules, app.config()).first != Validity::Valid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user