Skip to content

Commit

Permalink
Single vs plural
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 2, 2020
1 parent 359d1e8 commit 833c327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ func TestCreateTx(t *testing.T) {
}

// Add some op return data
opReturns := &OpReturnData{Data: "This is the example data!"}
opReturn := &OpReturnData{Data: "This is the example data!"}

// Generate the TX
rawTx, err := CreateTx([]*Utxo{utxo}, []*PayToAddress{payTo}, []*OpReturnData{opReturns}, "L3VJH2hcRGYYG6YrbWGmsxQC1zyYixA82YjgEyrEUWDs4ALgk8Vu")
rawTx, err := CreateTx([]*Utxo{utxo}, []*PayToAddress{payTo}, []*OpReturnData{opReturn}, "L3VJH2hcRGYYG6YrbWGmsxQC1zyYixA82YjgEyrEUWDs4ALgk8Vu")
if err != nil {
t.Fatalf("error occurred: %s", err.Error())
}
Expand Down

0 comments on commit 833c327

Please sign in to comment.