Skip to content

Commit f41c32e

Browse files
tmigoneneithanmo
authored andcommitted
fix: use correct TAP v2 domain name
Signed-off-by: Tomás Migone <[email protected]>
1 parent 6b65562 commit f41c32e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tap_core/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl TapVersion {
5656
}
5757

5858
/// The domain separator is defined as:
59-
/// - `name`: "TAP" for V1, "GraphTally" for V2 - This could be a fn argument but we don't want to change the function signature.
59+
/// - `name`: "TAP" for V1, "GraphTallyCollector" for V2 - This could be a fn argument but we don't want to change the function signature.
6060
/// - `version`: always set to "1", what changes is the domain name.
6161
/// - `chain_id`: The chain ID of the chain where the domain separator is deployed.
6262
/// - `verifying_contract`: The address of the contract that is verifying the signature.
@@ -67,7 +67,7 @@ pub fn tap_eip712_domain(
6767
) -> Eip712Domain {
6868
let name = match version {
6969
TapVersion::V1 => "TAP",
70-
TapVersion::V2 => "GraphTally",
70+
TapVersion::V2 => "GraphTallyCollector",
7171
};
7272

7373
eip712_domain! {

0 commit comments

Comments
 (0)