We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b038ea commit 16b81acCopy full SHA for 16b81ac
src/lib/SovaBitcoin.sol
@@ -71,7 +71,8 @@ library SovaBitcoin {
71
* @return returnData The Bitcoin address where the network receives deposits
72
*/
73
function getBtcNetworkReceive() internal returns (bytes memory) {
74
- (bool success, bytes memory returndata) = BTC_PRECOMPILE.call(abi.encodePacked(BTC_DEPOSIT_ADDR_BYTES));
+ (bool success, bytes memory returndata) =
75
+ BTC_PRECOMPILE.call(abi.encodePacked(BTC_DEPOSIT_ADDR_BYTES, UBTC_ADDRESS));
76
if (!success) revert PrecompileCallFailed();
77
return returndata;
78
}
0 commit comments