diff --git a/.gitignore b/.gitignore index 83c4244..6e292f6 100644 --- a/.gitignore +++ b/.gitignore @@ -16,5 +16,4 @@ docs/ __pycache__ .vscode -.idea temp/ diff --git a/src/BTCDepositAddressDeriver.sol b/src/BTCDepositAddressDeriver.sol index ac4b75b..6e8ff61 100644 --- a/src/BTCDepositAddressDeriver.sol +++ b/src/BTCDepositAddressDeriver.sol @@ -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; - } } diff --git a/src/Deriver.sol b/src/Deriver.sol index a82ed3e..17717f9 100644 --- a/src/Deriver.sol +++ b/src/Deriver.sol @@ -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,