@@ -47,7 +47,7 @@ describe('Wallet RBF', function () {
4747 it ( 'should not replace missing tx' , async ( ) => {
4848 const dummyHash = Buffer . alloc ( 32 , 0x10 ) ;
4949 assert . rejects ( async ( ) => {
50- await alice . bumpTXFee ( dummyHash , 1000 /* satoshis per kvB */ , null , true ) ;
50+ await alice . bumpTXFee ( dummyHash , 1000 /* satoshis per kvB */ , true , null ) ;
5151 } , {
5252 message : 'Transaction not found.'
5353 } ) ;
@@ -57,7 +57,7 @@ describe('Wallet RBF', function () {
5757 const txs = await alice . getHistory ( ) ;
5858 const cb = txs [ 0 ] ;
5959 assert . rejects ( async ( ) => {
60- await alice . bumpTXFee ( cb . hash , 1000 /* satoshis per kvB */ , null , true ) ;
60+ await alice . bumpTXFee ( cb . hash , 1000 /* satoshis per kvB */ , true , null ) ;
6161 } , {
6262 message : 'Transaction is confirmed.'
6363 } ) ;
@@ -78,7 +78,7 @@ describe('Wallet RBF', function () {
7878 assert ( node . mempool . hasEntry ( tx . hash ( ) ) ) ;
7979
8080 assert . rejects ( async ( ) => {
81- await alice . bumpTXFee ( tx . hash ( ) , 1000 /* satoshis per kvB */ , null , true ) ;
81+ await alice . bumpTXFee ( tx . hash ( ) , 1000 /* satoshis per kvB */ , true , null ) ;
8282 } , {
8383 message : 'Transaction does not signal opt-in replace-by-fee.'
8484 } ) ;
@@ -112,7 +112,7 @@ describe('Wallet RBF', function () {
112112 assert ( node . mempool . hasEntry ( tx2 . hash ( ) ) ) ;
113113
114114 assert . rejects ( async ( ) => {
115- await alice . bumpTXFee ( tx1 . hash ( ) , 1000 /* satoshis per kvB */ , null , true ) ;
115+ await alice . bumpTXFee ( tx1 . hash ( ) , 1000 /* satoshis per kvB */ , true , null ) ;
116116 } , {
117117 message : 'Transaction has descendants in the wallet.'
118118 } ) ;
@@ -132,7 +132,7 @@ describe('Wallet RBF', function () {
132132 await forEvent ( node . mempool , 'tx' ) ;
133133 assert ( node . mempool . has ( tx . hash ( ) ) ) ;
134134
135- const rtx = await alice . bumpTXFee ( tx . hash ( ) , 1000 /* satoshis per kvB */ , null , true ) ;
135+ const rtx = await alice . bumpTXFee ( tx . hash ( ) , 1000 /* satoshis per kvB */ , true , null ) ;
136136
137137 await forEvent ( node . mempool , 'tx' ) ;
138138 assert ( ! node . mempool . hasEntry ( tx . hash ( ) ) ) ;
0 commit comments