@@ -521,6 +521,7 @@ type onionBlindingJsonTestCase struct {
521521 Decrypt decryptData `json:"decrypt"`
522522}
523523
524+ //nolint:tagliatelle
524525type generateOnionData struct {
525526 SessionKey string `json:"session_key"`
526527 AssocData string `json:"associated_data"`
@@ -535,8 +536,8 @@ type decryptOnionMessageData struct {
535536 Hops []decryptOnionMessageHops `json:"hops"`
536537}
537538
538- type decryptHops struct {
539539//nolint:tagliatelle
540+ type decryptHops struct {
540541 Onion string `json:"onion"`
541542 NodePrivKey string `json:"node_privkey"`
542543 NextBlinding string `json:"next_blinding"`
@@ -562,8 +563,8 @@ type onionMessageJsonTestCase struct {
562563 Decrypt decryptOnionMessageData `json:"decrypt"`
563564}
564565
565- type routeData struct {
566566//nolint:tagliatelle
567+ type routeData struct {
567568 IntroductionNodeID string `json:"introduction_node_id"`
568569 Blinding string `json:"blinding"`
569570 Hops []blindedHop `json:"hops"`
@@ -595,14 +596,15 @@ type generateOnionMessageData struct {
595596 Hops []hopOnionMessageData `json:"hops"`
596597}
597598
599+ //nolint:tagliatelle
598600type unblindedHop struct {
599601 NodePrivKey string `json:"node_privkey"`
600- //nolint:tagliatelle
601602 EphemeralPubKey string `json:"ephemeral_pubkey"`
602603 DecryptedData string `json:"decrypted_data"`
603604 NextEphemeralPubKey string `json:"next_ephemeral_pubkey"`
604605}
605606
607+ //nolint:tagliatelle
606608type hopData struct {
607609 SessionKey string `json:"session_key"`
608610 NodeID string `json:"node_id"`
0 commit comments