@@ -274,7 +274,7 @@ func runTest(t *testing.T, splitTx bool) {
274274 confContract := receipts [0 ].Contract ()
275275 checkConfs := func (n uint32 , expSpent bool ) {
276276 t .Helper ()
277- confs , spent , err := rig .beta ().SwapConfirmations (tCtx , confCoin .ID (), confContract , tStart )
277+ confs , spent , err := rig .beta ().SwapConfirmations (tCtx , confCoin .ID (), confContract , tStart , nil )
278278 if err != nil {
279279 t .Fatalf ("error getting %d confs: %v" , n , err )
280280 }
@@ -324,7 +324,7 @@ func runTest(t *testing.T, splitTx bool) {
324324 if swapOutput .Value () != swapVal {
325325 t .Fatalf ("wrong contract value. wanted %d, got %d" , swapVal , swapOutput .Value ())
326326 }
327- confs , spent , err := rig .alpha ().SwapConfirmations (context .TODO (), swapOutput .ID (), receipt .Contract (), tStart )
327+ confs , spent , err := rig .alpha ().SwapConfirmations (context .TODO (), swapOutput .ID (), receipt .Contract (), tStart , nil )
328328 if err != nil {
329329 t .Fatalf ("error getting confirmations: %v" , err )
330330 }
@@ -364,7 +364,7 @@ func runTest(t *testing.T, splitTx bool) {
364364 waitNetwork ()
365365 ctx , cancel := context .WithDeadline (tCtx , time .Now ().Add (time .Second * 5 ))
366366 defer cancel ()
367- _ , checkKey , err := rig .beta ().FindRedemption (ctx , swapReceipt .Coin ().ID (), nil )
367+ _ , checkKey , err := rig .beta ().FindRedemption (ctx , swapReceipt .Coin ().ID (), nil , nil )
368368 if err != nil {
369369 t .Fatalf ("error finding unconfirmed redemption: %v" , err )
370370 }
@@ -384,7 +384,7 @@ func runTest(t *testing.T, splitTx bool) {
384384 }
385385 ctx , cancel2 := context .WithDeadline (tCtx , time .Now ().Add (time .Second * 5 ))
386386 defer cancel2 ()
387- _ , _ , err = rig .beta ().FindRedemption (ctx , swapReceipt .Coin ().ID (), nil )
387+ _ , _ , err = rig .beta ().FindRedemption (ctx , swapReceipt .Coin ().ID (), nil , nil )
388388 if err != nil {
389389 t .Fatalf ("error finding confirmed redemption: %v" , err )
390390 }
@@ -420,7 +420,7 @@ func runTest(t *testing.T, splitTx bool) {
420420 swapReceipt = receipts [0 ]
421421
422422 waitNetwork ()
423- _ , err = rig .beta ().Refund (swapReceipt .Coin ().ID (), swapReceipt .Contract (), tDCR .MaxFeeRate / 4 )
423+ _ , err = rig .beta ().Refund (swapReceipt .Coin ().ID (), swapReceipt .Contract (), nil , tDCR .MaxFeeRate / 4 )
424424 if err != nil {
425425 t .Fatalf ("refund error: %v" , err )
426426 }
0 commit comments