This commit is contained in:
bthomee
2025-11-12 05:26:48 -08:00
parent 35dde1521b
commit da1ee02d0b
12 changed files with 13 additions and 13 deletions

View File

@@ -2022,7 +2022,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01889" name="l01889"></a><span class="lineno"> 1889</span> BEAST_EXPECT(<a class="code hl_function" href="structripple_1_1test_1_1PayChan__test.html#ae05b84ca1fdac1d85b38698c1c7832cb">channelAmount</a>(*env.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Env.html#a65bedb2e0babbd55343f721de9008a37">current</a>(), chan) == <a class="code hl_variable" href="namespaceripple_1_1test_1_1jtx.html#aea9cd3d4e6b5df2e62d53b34b605957e">XRP</a>(1000));</div>
<div class="line"><a id="l01890" name="l01890"></a><span class="lineno"> 1890</span> </div>
<div class="line"><a id="l01891" name="l01891"></a><span class="lineno"> 1891</span> rmAccount(env, alice, carol, <a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38caa7460a5fac26c1d8abef55b8c1129150">tecHAS_OBLIGATIONS</a>);</div>
<div class="line"><a id="l01892" name="l01892"></a><span class="lineno"> 1892</span> <span class="comment">// can only remove bob if the channel isn&#39;t in their owner direcotry</span></div>
<div class="line"><a id="l01892" name="l01892"></a><span class="lineno"> 1892</span> <span class="comment">// can only remove bob if the channel isn&#39;t in their owner directory</span></div>
<div class="line"><a id="l01893" name="l01893"></a><span class="lineno"> 1893</span> rmAccount(env, bob, carol, <a class="code hl_typedef" href="namespaceripple.html#adfb760bc3e4ccb79d5d4f6ecff2f1817">TER</a>(<a class="code hl_enumvalue" href="namespaceripple.html#aa298e929e02f59c2b05a30ee8805b38caa7460a5fac26c1d8abef55b8c1129150">tecHAS_OBLIGATIONS</a>));</div>
<div class="line"><a id="l01894" name="l01894"></a><span class="lineno"> 1894</span> </div>
<div class="line"><a id="l01895" name="l01895"></a><span class="lineno"> 1895</span> <span class="keyword">auto</span> <span class="keyword">const</span> feeDrops = env.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Env.html#a65bedb2e0babbd55343f721de9008a37">current</a>()-&gt;fees().base;</div>
@@ -2058,7 +2058,7 @@ $(document).ready(function() { init_codefold(0); });
<div class="line"><a id="l01925" name="l01925"></a><span class="lineno"> 1925</span> <span class="comment">// Owner closes, will close after settleDelay</span></div>
<div class="line"><a id="l01926" name="l01926"></a><span class="lineno"> 1926</span> env(<a class="code hl_function" href="namespaceripple_1_1test_1_1jtx_1_1paychan.html#a89cce4a1494cae4734479d88975dbd2c">claim</a>(alice, chan), <a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1txflags.html">txflags</a>(<a class="code hl_variable" href="namespaceripple.html#ac1c00e26dbebe035301fefc29b02f82b">tfClose</a>));</div>
<div class="line"><a id="l01927" name="l01927"></a><span class="lineno"> 1927</span> env.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Env.html#a69095691c9bcfab1f3d69c645f2dbe33">close</a>();</div>
<div class="line"><a id="l01928" name="l01928"></a><span class="lineno"> 1928</span> <span class="comment">// settle delay hasn&#39;t ellapsed. Channels should exist.</span></div>
<div class="line"><a id="l01928" name="l01928"></a><span class="lineno"> 1928</span> <span class="comment">// settle delay hasn&#39;t elapsed. Channels should exist.</span></div>
<div class="line"><a id="l01929" name="l01929"></a><span class="lineno"> 1929</span> BEAST_EXPECT(<a class="code hl_function" href="namespaceripple_1_1test_1_1jtx_1_1paychan.html#a06f27c7124c8e76c4068af61623b06ec">channelExists</a>(*env.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Env.html#a65bedb2e0babbd55343f721de9008a37">current</a>(), chan));</div>
<div class="line"><a id="l01930" name="l01930"></a><span class="lineno"> 1930</span> <span class="keyword">auto</span> <span class="keyword">const</span> closeTime = env.<a class="code hl_function" href="classripple_1_1test_1_1jtx_1_1Env.html#a65bedb2e0babbd55343f721de9008a37">current</a>()-&gt;info().parentCloseTime;</div>
<div class="line"><a id="l01931" name="l01931"></a><span class="lineno"> 1931</span> <span class="keyword">auto</span> <span class="keyword">const</span> minExpiration = closeTime + settleDelay;</div>