Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add unlock wallet prior to send btc del
Browse files Browse the repository at this point in the history
RafilxTenfen committed Jan 15, 2025
1 parent 66ec7db commit c49e035
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions itest/test_manager.go
Original file line number Diff line number Diff line change
@@ -412,6 +412,14 @@ func (tm *TestManager) InsertBTCDelegation(
serializedUnbondingTx, err := bbntypes.SerializeBTCTx(testUnbondingInfo.UnbondingTx)
require.NoError(t, err)

err = signerservice.Unlock(
context.Background(),
tm.CovenanConfig.RemoteSigner.URL,
tm.CovenanConfig.RemoteSigner.Timeout,
passphrase,
)
require.NoError(t, err)

// submit the BTC delegation to Babylon
_, err = tm.CovBBNClient.CreateBTCDelegation(
bbntypes.NewBIP340PubKeyFromBTCPK(delBtcPubKey),

0 comments on commit c49e035

Please sign in to comment.