Tidy up jtx:

* Tidy declaration order
* Remove AccountInfo
* Remove Env autofill settings
This commit is contained in:
Vinnie Falco
2015-06-13 07:38:07 -07:00
committed by Nik Bougalis
parent 9dd08e4dab
commit eb709f415b
10 changed files with 53 additions and 159 deletions

View File

@@ -28,10 +28,11 @@ namespace jtx {
void
seq::operator()(Env const&, JTx& jt) const
{
if (boost::indeterminate(b_))
jt[jss::Sequence] = v_;
else
jt.fill_seq = b_;
if (! manual_)
return;
jt.fill_seq = false;
if (num_)
jt[jss::Sequence] = *num_;
}
} // jtx