Skip to content

Commit

Permalink
ci: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
tiero committed Jun 15, 2022
1 parent 8690de6 commit 2a17f27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pset/pset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ func TestBroadcastUnblindedZeroAssetValueIssuanceTx(t *testing.T) {
* is for the fees, that in Elements side chains are explicits.
**/

privkey, err := btcec.NewPrivateKey(btcec.S256())
privkey, err := btcec.NewPrivateKey()
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -1297,13 +1297,13 @@ func TestBroadcastIssuanceTxWithBlindedOutput(t *testing.T) {
}

func TestBroadcastBlindedZeroAssetValueIssuanceTx(t *testing.T) {
privkey, err := btcec.NewPrivateKey(btcec.S256())
privkey, err := btcec.NewPrivateKey()
if err != nil {
t.Fatal(err)
}
pubkey := privkey.PubKey()

blindPrivkey, err := btcec.NewPrivateKey(btcec.S256())
blindPrivkey, err := btcec.NewPrivateKey()
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -1390,7 +1390,7 @@ func TestBroadcastBlindedZeroAssetValueIssuanceTx(t *testing.T) {
inBlindingPrvKeysForIssuance := [][]byte{blindPrivkey.Serialize()}
outBlindingPrvKeysForIssuance := make([][]byte, 2)
for i := range outBlindingPrvKeysForIssuance {
pk, err := btcec.NewPrivateKey(btcec.S256())
pk, err := btcec.NewPrivateKey()
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 2a17f27

Please sign in to comment.