@@ -1501,15 +1501,15 @@ describe('Wallet API', function () {
15011501 amount : 0.01 * 1e8 ,
15021502 } ) ;
15031503 recipients [ TestBitGo . TEST_WALLET2_ADDRESS ] = 0.01 * 1e8 ;
1504- return TransactionBuilder . createTransaction ( { wallet : wallet1 , recipients : recipients } ) . then ( function (
1505- result
1506- ) {
1507- result . should . have . property ( 'unspents' ) ;
1508- result . txInfo . nP2pkhInputs . should . equal ( 15 ) ;
1509- result . should . have . property ( 'fee ' ) ;
1510- result . should . have . property ( 'feeRate' ) ;
1511- result . walletId . should . equal ( wallet1 . id ( ) ) ;
1512- } ) ;
1504+ return TransactionBuilder . createTransaction ( { wallet : wallet1 , recipients : recipients } ) . then (
1505+ function ( result ) {
1506+ result . should . have . property ( 'unspents' ) ;
1507+ result . txInfo . nP2pkhInputs . should . equal ( 15 ) ;
1508+ result . should . have . property ( 'fee' ) ;
1509+ result . should . have . property ( 'feeRate ' ) ;
1510+ result . walletId . should . equal ( wallet1 . id ( ) ) ;
1511+ }
1512+ ) ;
15131513 } ) ;
15141514
15151515 it ( 'Filter uneconomic unspents test, no feerate set' , function ( ) {
@@ -1658,14 +1658,14 @@ describe('Wallet API', function () {
16581658 amount : 0.01 * 1e8 ,
16591659 } ) ;
16601660 recipients [ TestBitGo . TEST_WALLET2_ADDRESS ] = 0.01 * 1e8 ;
1661- return TransactionBuilder . createTransaction ( { wallet : wallet1 , recipients : recipients } ) . then ( function (
1662- result
1663- ) {
1664- result . should . have . property ( 'unspents ' ) ;
1665- result . should . have . property ( 'fee ' ) ;
1666- result . should . have . property ( 'feeRate' ) ;
1667- result . walletId . should . equal ( wallet1 . id ( ) ) ;
1668- } ) ;
1661+ return TransactionBuilder . createTransaction ( { wallet : wallet1 , recipients : recipients } ) . then (
1662+ function ( result ) {
1663+ result . should . have . property ( 'unspents' ) ;
1664+ result . should . have . property ( 'fee ' ) ;
1665+ result . should . have . property ( 'feeRate ' ) ;
1666+ result . walletId . should . equal ( wallet1 . id ( ) ) ;
1667+ }
1668+ ) ;
16691669 } ) ;
16701670 } ) ;
16711671
0 commit comments