Skip to content

Commit

Permalink
fix Bitcoin chain ID
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Sep 8, 2023
1 parent eb6bb86 commit b507eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnichain/staking/contracts/Staking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ contract Staking is ERC20, zContract {
address staker = BytesHelperLib.bytesToAddress(context.origin, 0);
address beneficiary;

if (context.chainID == 18832) {
if (context.chainID == 18332) {
beneficiary = BytesHelperLib.bytesToAddress(message, 0);
} else {
beneficiary = abi.decode(message, (address));
Expand Down

0 comments on commit b507eeb

Please sign in to comment.