diff --git a/src/xrpld/app/tx/detail/AMMCreate.cpp b/src/xrpld/app/tx/detail/AMMCreate.cpp index d6a65dd083..8640e86d51 100644 --- a/src/xrpld/app/tx/detail/AMMCreate.cpp +++ b/src/xrpld/app/tx/detail/AMMCreate.cpp @@ -271,7 +271,7 @@ applyCreate( if (auto ter = dirLink(sb, accountId, ammSle); ter) { JLOG(j_.debug()) << "AMM Instance: failed to insert owner dir"; - return {tecDIR_FULL, false}; + return {ter, false}; } sb.insert(ammSle);