Skip to content

Commit

Permalink
fix: update LSP25 Singleton logic
Browse files Browse the repository at this point in the history
  • Loading branch information
skimaharvey committed Oct 11, 2023
1 parent 2e9bfbf commit 0e4b1d3
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,14 @@ abstract contract LSP25MultiChannelNonceSingleton {
bytes memory lsp25EncodedMessage = abi.encodePacked(
LSP25_VERSION,
block.chainid,
target,
nonce,
validityTimestamps,
msgValue,
callData
);

bytes32 eip191Hash = target.toDataWithIntendedValidatorHash(
bytes32 eip191Hash = address(this).toDataWithIntendedValidatorHash(
lsp25EncodedMessage
);

Expand Down
Loading

0 comments on commit 0e4b1d3

Please sign in to comment.