mirror of
https://github.com/Xahau/xahaud.git
synced 2026-09-27 15:38:01 +00:00
fix(hooks): generate xport callback fee documentation
This commit is contained in:
@@ -42,6 +42,11 @@ APPLY_HOOK="$SCRIPT_DIR/../include/xrpl/hook/hook_api.macro"
|
||||
sub(/[[:space:]]+_g/, " __attribute__((noduplicate)) _g", line);
|
||||
}
|
||||
|
||||
if (line ~ /[[:space:]]+xport[[:space:]]*\(/) {
|
||||
print "// callback_fee_drops: 0 omits third-party delivery permission; otherwise the";
|
||||
print "// exact Import fee authorized by the emitted Export intent, in native drops.";
|
||||
}
|
||||
|
||||
if (line ~ /[[:space:]]+entropy_cr_dice[[:space:]]*\(/) {
|
||||
print "/*";
|
||||
print " Consensus entropy APIs.";
|
||||
|
||||
Reference in New Issue
Block a user