Skip to content

Commit

Permalink
Add Hangzhou2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Groxan committed Nov 22, 2021
1 parent 44a509a commit dd2a87d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Tzkt.Sync/Protocols/Helpers/Chains.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ static class Chains
"NetXxkAx4woPLyu" => "florencenet",
"NetXz969SFaFn8k" => "granadanet",
"NetXuXoGoLxNK6o" => "hangzhounet",
"NetXZSsxBpMQeAT" => "hangzhou2net",
_ => "private"
};
}
Expand Down
1 change: 1 addition & 0 deletions Tzkt.Sync/Protocols/TezosProtocols.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public static ProtocolHandler GetProtocolHandler(this IServiceProvider services,
"PsFLorenaUUuikDWvMDr6fGBRG8kt3e3D3fHoXK1j1BFRxeSH4i" => services.GetRequiredService<Proto9Handler>(),
"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV" => services.GetRequiredService<Proto10Handler>(),
"PtHangzHogokSuiMHemCuowEavgYTP8J5qQ9fQS793MHYFpCY3r" => services.GetRequiredService<Proto11Handler>(),
"PtHangz2aRngywmSRGGvrcTyMbbdpWdpFKuS4uMWxg2RaH9i1qx" => services.GetRequiredService<Proto11Handler>(),
_ => throw new NotImplementedException($"Protocol '{protocol}' is not supported"),
};
}
Expand Down

0 comments on commit dd2a87d

Please sign in to comment.