mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix endless recursion.
This commit is contained in:
@@ -88,7 +88,7 @@ LedgerEntryFormat LedgerFormats[]=
|
||||
|
||||
LedgerEntryFormat* getLgrFormat(LedgerEntryType t)
|
||||
{
|
||||
return getLgrFormat(t);
|
||||
return getLgrFormat(static_cast<int>(t));
|
||||
}
|
||||
|
||||
LedgerEntryFormat* getLgrFormat(int t)
|
||||
|
||||
@@ -102,7 +102,7 @@ TransactionFormat InnerTxnFormats[]=
|
||||
|
||||
TransactionFormat* getTxnFormat(TransactionType t)
|
||||
{
|
||||
return getTxnFormat(t);
|
||||
return getTxnFormat(static_cast<int>(t));
|
||||
}
|
||||
|
||||
TransactionFormat* getTxnFormat(int t)
|
||||
|
||||
Reference in New Issue
Block a user