@@ -522,6 +522,7 @@ type onionBlindingJsonTestCase struct {
522522 Decrypt decryptData `json:"decrypt"`
523523}
524524
525+ //nolint:tagliatelle
525526type generateOnionData struct {
526527 SessionKey string `json:"session_key"`
527528 AssocData string `json:"associated_data"`
@@ -536,8 +537,8 @@ type decryptOnionMessageData struct {
536537 Hops []decryptOnionMessageHops `json:"hops"`
537538}
538539
539- type decryptHops struct {
540540//nolint:tagliatelle
541+ type decryptHops struct {
541542 Onion string `json:"onion"`
542543 NodePrivKey string `json:"node_privkey"`
543544 NextBlinding string `json:"next_blinding"`
@@ -563,8 +564,8 @@ type onionMessageJsonTestCase struct {
563564 Decrypt decryptOnionMessageData `json:"decrypt"`
564565}
565566
566- type routeData struct {
567567//nolint:tagliatelle
568+ type routeData struct {
568569 IntroductionNodeID string `json:"introduction_node_id"`
569570 Blinding string `json:"blinding"`
570571 Hops []blindedHop `json:"hops"`
@@ -596,14 +597,15 @@ type generateOnionMessageData struct {
596597 Hops []hopOnionMessageData `json:"hops"`
597598}
598599
600+ //nolint:tagliatelle
599601type unblindedHop struct {
600602 NodePrivKey string `json:"node_privkey"`
601- //nolint:tagliatelle
602603 EphemeralPubKey string `json:"ephemeral_pubkey"`
603604 DecryptedData string `json:"decrypted_data"`
604605 NextEphemeralPubKey string `json:"next_ephemeral_pubkey"`
605606}
606607
608+ //nolint:tagliatelle
607609type hopData struct {
608610 SessionKey string `json:"session_key"`
609611 NodeID string `json:"node_id"`
0 commit comments