mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
update hook on calcaulator
This commit is contained in:
@@ -31,7 +31,8 @@ export type TTS = typeof TRANSACTION_TYPE_MAP
|
||||
* @returns the hook on
|
||||
*/
|
||||
export function calculateHookOn(arr: Array<keyof TTS>): string {
|
||||
let hash = '0x3e3ff5bf'
|
||||
let hash =
|
||||
'0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff'
|
||||
arr.forEach((nth) => {
|
||||
if (typeof nth !== 'string') {
|
||||
throw new XrplError(`HookOn transaction type must be string`)
|
||||
|
||||
Reference in New Issue
Block a user