File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
modules/utxo-staking/test/unit/babylon Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ describe('btc-staking-ts bug #71', function () {
1010 let buf : Buffer ;
1111 before ( 'load half-signed transaction' , async function ( ) {
1212 const fixture = JSON . parse (
13- await fs . promises . readFile ( __dirname + '/../../../../test/ fixtures/babylon/txTree.testnet.json' , 'utf-8' )
13+ await fs . promises . readFile ( __dirname + '/../../fixtures/babylon/txTree.testnet.json' , 'utf-8' )
1414 ) ;
1515 const base64 = fixture . slashingSignedBase64 ;
1616 assert ( typeof base64 === 'string' ) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ type BtcDelegation = t.TypeOf<typeof BtcDelegation>;
2828async function getFixture ( txid : string ) : Promise < BtcDelegation > {
2929 // As returned by https://babylon.nodes.guru/api#/Query/BTCDelegation
3030 const BtcDelegationResponse = t . type ( { btc_delegation : BtcDelegation } , 'BtcDelegationResponse' ) ;
31- const filename = __dirname + `/../../../../test/ fixtures/babylon/rpc/btc_delegation/testnet.${ txid } .json` ;
31+ const filename = __dirname + `/../../fixtures/babylon/rpc/btc_delegation/testnet.${ txid } .json` ;
3232 const data = JSON . parse ( await fs . readFile ( filename , 'utf8' ) ) ;
3333 const result = BtcDelegationResponse . decode ( data ) ;
3434 if ( isLeft ( result ) ) {
You can’t perform that action at this time.
0 commit comments