Skip to content

Commit

Permalink
Revert "Feat: add pubkey functions (#36)"
Browse files Browse the repository at this point in the history
This reverts commit 2f9f9ca.
  • Loading branch information
bullet-tooth committed Sep 23, 2024
1 parent 2f9f9ca commit 5a2f1c3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ docs/
__pycache__

.vscode
.idea
temp/
8 changes: 0 additions & 8 deletions src/BTCDepositAddressDeriver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,4 @@ contract BTCDepositAddressDeriver {
ethAddr
);
}

function getBtcAddress1() public view returns (string memory) {
return btcAddr1;
}

function getBtcAddress2() public view returns (string memory) {
return btcAddr2;
}
}
2 changes: 1 addition & 1 deletion src/Deriver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ library Deriver {
bytes memory hrp,
address ethAddr
) internal pure returns (string memory) {
(uint256 x, uint256 _y) = getPubkeyFromAddress(
(uint256 x, uint256 y) = getPubkeyFromAddress(
p1x,
p1y,
p2x,
Expand Down

0 comments on commit 5a2f1c3

Please sign in to comment.