diff --git a/wallet/createtx_test.go b/wallet/createtx_test.go index bb351a1fc4..b1008e9a27 100644 --- a/wallet/createtx_test.go +++ b/wallet/createtx_test.go @@ -79,7 +79,7 @@ func TestTxToOutputsDryRun(t *testing.T) { // database us not inflated. dryRunTx, err := w.txToOutputs( txOuts, nil, nil, 0, 1, 1000, CoinSelectionLargest, true, - nil, + nil, nil, ) if err != nil { t.Fatalf("unable to author tx: %v", err) @@ -97,7 +97,7 @@ func TestTxToOutputsDryRun(t *testing.T) { dryRunTx2, err := w.txToOutputs( txOuts, nil, nil, 0, 1, 1000, CoinSelectionLargest, true, - nil, + nil, nil, ) if err != nil { t.Fatalf("unable to author tx: %v", err) @@ -133,7 +133,7 @@ func TestTxToOutputsDryRun(t *testing.T) { // to the database. tx, err := w.txToOutputs( txOuts, nil, nil, 0, 1, 1000, CoinSelectionLargest, false, - nil, + nil, nil, ) if err != nil { t.Fatalf("unable to author tx: %v", err) @@ -283,7 +283,7 @@ func TestTxToOutputsRandom(t *testing.T) { createTx := func() *txauthor.AuthoredTx { tx, err := w.txToOutputs( txOuts, nil, nil, 0, 1, feeSatPerKb, - CoinSelectionRandom, true, nil, + CoinSelectionRandom, true, nil, nil, ) require.NoError(t, err) return tx @@ -355,7 +355,7 @@ func TestCreateSimpleCustomChange(t *testing.T) { } tx1, err := w.txToOutputs( []*wire.TxOut{targetTxOut}, nil, nil, 0, 1, 1000, - CoinSelectionLargest, true, nil, + CoinSelectionLargest, true, nil, nil, ) require.NoError(t, err) @@ -381,7 +381,7 @@ func TestCreateSimpleCustomChange(t *testing.T) { tx2, err := w.txToOutputs( []*wire.TxOut{targetTxOut}, &waddrmgr.KeyScopeBIP0086, &waddrmgr.KeyScopeBIP0084, 0, 1, 1000, CoinSelectionLargest, - true, nil, + true, nil, nil, ) require.NoError(t, err) @@ -465,7 +465,7 @@ func TestSelectUtxosTxoToOutpoint(t *testing.T) { } tx1, err := w.txToOutputs( []*wire.TxOut{targetTxOut}, nil, nil, 0, 1, 1000, - CoinSelectionLargest, true, selectUtxos, + CoinSelectionLargest, true, selectUtxos, nil, ) require.NoError(t, err)