mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tidy up jtx:
* Tidy declaration order * Remove AccountInfo * Remove Env autofill settings
This commit is contained in:
committed by
Nik Bougalis
parent
9dd08e4dab
commit
eb709f415b
@@ -28,19 +28,18 @@ namespace jtx {
|
||||
void
|
||||
sig::operator()(Env const&, JTx& jt) const
|
||||
{
|
||||
if(boost::indeterminate(b_))
|
||||
if (! manual_)
|
||||
return;
|
||||
jt.fill_sig = false;
|
||||
if(account_)
|
||||
{
|
||||
// VFALCO Inefficient pre-C++14
|
||||
auto const account = account_;
|
||||
auto const account = *account_;
|
||||
jt.signer = [account](Env&, JTx& jt)
|
||||
{
|
||||
jtx::sign(jt.jv, account);
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
jt.fill_sig = b_;
|
||||
}
|
||||
}
|
||||
|
||||
} // jtx
|
||||
|
||||
Reference in New Issue
Block a user