Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Fixed MySQL test
Browse files Browse the repository at this point in the history
  • Loading branch information
icellan committed Mar 9, 2022
1 parent 965129a commit b30d30c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action_destination_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (ts *EmbeddedDBTestSuite) TestClient_NewDestinationForLockingScript() {

var destination *Destination
destination, err = tc.client.NewDestinationForLockingScript(
tc.ctx, testXPub, lockingScript, false, opts...,
tc.ctx, testXPubID, lockingScript, false, opts...,
)
assert.NoError(t, err)
assert.Equal(t, "a64c7aca7110c7cde92245252a58bb18a4317381fc31fc293f6aafa3fcc7019f", destination.ID)
Expand All @@ -118,7 +118,7 @@ func (ts *EmbeddedDBTestSuite) TestClient_NewDestinationForLockingScript() {
opts := append(tc.client.DefaultModelOptions(), WithMetadatas(metadata))

destination, err := tc.client.NewDestinationForLockingScript(
tc.ctx, testXPub, "", false,
tc.ctx, testXPubID, "", false,
opts...,
)
require.Error(t, err)
Expand Down

0 comments on commit b30d30c

Please sign in to comment.