From d8b2ba42a6b2ba1a327ecb7f8021bdff662f3e75 Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Wed, 18 Oct 2023 08:33:15 +0200 Subject: [PATCH] Update Transactor.cpp --- src/ripple/app/tx/impl/Transactor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/app/tx/impl/Transactor.cpp b/src/ripple/app/tx/impl/Transactor.cpp index a118ff04b3f..1affb6fcc56 100644 --- a/src/ripple/app/tx/impl/Transactor.cpp +++ b/src/ripple/app/tx/impl/Transactor.cpp @@ -40,7 +40,7 @@ namespace ripple { NotTEC preflight0(PreflightContext const& ctx) { - if (ctx.tx.isFieldPresent(sfNetworkID)) + if (!isPseudoTx(ctx.tx) || ctx.tx.isFieldPresent(sfNetworkID)) { uint32_t nodeNID = ctx.app.config().NETWORK_ID; std::optional txNID = ctx.tx[~sfNetworkID];