Skip to content

Commit

Permalink
Update Flags.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zgrguric committed Aug 17, 2023
1 parent 48fc553 commit b6028e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Utilities/Flags.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,16 @@ public static function hasFlag(int $flags, int $check): bool

public static function description(string $transactiontype, string $flagname, bool $htmlFormat = false): string
{
if($flagname == 'tfFullyCanonicalSig')
$transactiontype = '';

$path = $transactiontype.'_'.$flagname;

$html = '';

switch($path) {
case '_GLOBAL_tfFullyCanonicalSig':
case 'tfFullyCanonicalSig':
case '_tfFullyCanonicalSig':
$html = 'DEPRECATED No effect. (If the <a href="https://xrpl.org/known-amendments.html#requirefullycanonicalsig">RequireFullyCanonicalSig amendment</a> is not enabled, this flag enforces a <a href="https://xrpl.org/transaction-malleability.html#alternate-secp256k1-signatures">fully-canonical signature</a>.)';
break;
case 'EnableAmendment_tfGotMajority':
Expand Down

0 comments on commit b6028e0

Please sign in to comment.