Skip to content

Commit

Permalink
fix: use raw receipt bytes instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Ermolin committed Jul 26, 2021
1 parent aff6463 commit 61211d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/lib/ExitPayloadReader.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ library ExitPayloadReader {
receipt.data = receiptItem.toList();
} else {
// pop first byte before parsting receipt
bytes memory typedBytes = receiptItem.toBytes();
bytes memory typedBytes = receipt.raw;
bytes memory result = new bytes(typedBytes.length - 1);
uint256 srcPtr;
uint256 destPtr;
Expand Down

0 comments on commit 61211d9

Please sign in to comment.