mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Reward hook tests (#117)
* fix warning * reorder variables/functions * add reward hook tests
This commit is contained in:
@@ -193,10 +193,11 @@ XRPNotCreated::finalize(
|
||||
|
||||
bool const passed = (drops_ <= maxDropsAdded.drops() - fee.drops());
|
||||
if (!passed)
|
||||
JLOG(j.trace())
|
||||
<< "XRPNotCreated failed.";
|
||||
{
|
||||
JLOG(j.trace()) << "XRPNotCreated failed.";
|
||||
}
|
||||
|
||||
return passed;
|
||||
|
||||
}
|
||||
|
||||
if (view.rules().enabled(featureXahauGenesis) && tt == ttGENESIS_MINT && res == tesSUCCESS)
|
||||
|
||||
Reference in New Issue
Block a user