package session import ( "ripple/handler" "ripple/lockstep" ) func GetLockstepCmdHandlers(h *handler.LockstepHandlers) [128]lockstep.CommandHandler { var cmdHandlers [128]lockstep.CommandHandler cmdHandlers[2] = h.SetTrustlineInternal cmdHandlers[3] = h.SetTrustlineExternal cmdHandlers[4] = h.InitPaymentInternal cmdHandlers[5] = h.InitPaymentExternal cmdHandlers[6] = h.CommitPaymentInternal cmdHandlers[7] = h.CommitPaymentExternal cmdHandlers[8] = h.SealPaymentInternal cmdHandlers[9] = h.SealPaymentExternal cmdHandlers[10] = h.FinalizePaymentInternal cmdHandlers[11] = h.FinalizePaymentExternal cmdHandlers[12] = h.CancelPaymentInternal cmdHandlers[13] = h.CancelPaymentExternal cmdHandlers[14] = h.PaymentFeeInternal cmdHandlers[15] = h.PaymentFeeExternal cmdHandlers[16] = h.SwarmRedistributionInternal cmdHandlers[17] = h.SwarmRedistributionExternal return cmdHandlers }