Skip to content

Commit 16b81ac

Browse files
committed
add payload to BTC_DEPOSIT_ADDR_BYTES call
1 parent 1b038ea commit 16b81ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/SovaBitcoin.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ library SovaBitcoin {
7171
* @return returnData The Bitcoin address where the network receives deposits
7272
*/
7373
function getBtcNetworkReceive() internal returns (bytes memory) {
74-
(bool success, bytes memory returndata) = BTC_PRECOMPILE.call(abi.encodePacked(BTC_DEPOSIT_ADDR_BYTES));
74+
(bool success, bytes memory returndata) =
75+
BTC_PRECOMPILE.call(abi.encodePacked(BTC_DEPOSIT_ADDR_BYTES, UBTC_ADDRESS));
7576
if (!success) revert PrecompileCallFailed();
7677
return returndata;
7778
}

0 commit comments

Comments
 (0)