File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -266,8 +266,8 @@ contract PegInContract is
266266 quote.liquidityProviderBtcAddress
267267 )
268268 );
269- bytes1 OP_DROP = 0x75 ;
270- bytes1 OP_PUSHBYTES_32 = 0x20 ;
269+ bytes1 OP_DROP = 0x75 ; // solhint-disable-line
270+ bytes1 OP_PUSHBYTES_32 = 0x20 ; // solhint-disable-line
271271 bytes memory flyoverRedeemScript = bytes .concat (
272272 OP_PUSHBYTES_32,
273273 derivationValue,
Original file line number Diff line number Diff line change @@ -1542,7 +1542,11 @@ contract PegInTest is Test {
15421542 hex "75 " ,
15431543 bridgeMock.getActivePowpegRedeemScript ()
15441544 );
1545- bytes memory segwitScript1 = bytes .concat (OpCodes.OP_0, hex "20 " , sha256 (flyoverRedeemScript1));
1545+ bytes memory segwitScript1 = bytes .concat (
1546+ OpCodes.OP_0,
1547+ hex "20 " ,
1548+ sha256 (flyoverRedeemScript1)
1549+ );
15461550
15471551 // Calculate P2SH address from redeem script using FFI
15481552 bytes memory expectedDepositAddr1 = _getP2SHAddressFromScript (
@@ -1599,7 +1603,11 @@ contract PegInTest is Test {
15991603 hex "75 " ,
16001604 bridgeMock.getActivePowpegRedeemScript ()
16011605 );
1602- bytes memory segwitScript2 = bytes .concat (OpCodes.OP_0, hex "20 " , sha256 (flyoverRedeemScript2));
1606+ bytes memory segwitScript2 = bytes .concat (
1607+ OpCodes.OP_0,
1608+ hex "20 " ,
1609+ sha256 (flyoverRedeemScript2)
1610+ );
16031611 bytes memory expectedDepositAddr2 = _getP2SHAddressFromScript (
16041612 segwitScript2,
16051613 false
@@ -1654,7 +1662,11 @@ contract PegInTest is Test {
16541662 hex "75 " ,
16551663 bridgeMock.getActivePowpegRedeemScript ()
16561664 );
1657- bytes memory segwitScript3 = bytes .concat (OpCodes.OP_0, hex "20 " , sha256 (flyoverRedeemScript3));
1665+ bytes memory segwitScript3 = bytes .concat (
1666+ OpCodes.OP_0,
1667+ hex "20 " ,
1668+ sha256 (flyoverRedeemScript3)
1669+ );
16581670 bytes memory expectedDepositAddr3 = _getP2SHAddressFromScript (
16591671 segwitScript3,
16601672 false
You can’t perform that action at this time.
0 commit comments