mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-17 10:55:48 +00:00
feat: add Clawback amendment support (#2353)
* Add Clawback transaction * Account flag lsfAllowTrustLineClawback * Support bitwise flag checking of 64 bit flags
This commit is contained in:
@@ -21,7 +21,7 @@ describe('encode and decode using new types as a parameter', function () {
|
||||
// Normally this would be generated directly from rippled with something like `server_definitions`.
|
||||
// Added here to make it easier to see what is actually changing in the definitions.json file.
|
||||
const definitions = JSON.parse(JSON.stringify(normalDefinitionsJson))
|
||||
definitions.TRANSACTION_TYPES['NewTestTransaction'] = 30
|
||||
definitions.TRANSACTION_TYPES['NewTestTransaction'] = 75
|
||||
|
||||
const newDefs = new XrplDefinitions(definitions)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user