@@ -310,7 +310,7 @@ describe('Transaction', function() {
310310 . change ( changeAddress )
311311 . sign ( privateKey ) ;
312312 transaction . outputs . length . should . equal ( 2 ) ;
313- transaction . outputs [ 1 ] . satoshis . should . equal ( 400000 ) ;
313+ transaction . outputs [ 1 ] . satoshis . should . equal ( 477636 ) ;
314314 transaction . outputs [ 1 ] . script . toString ( )
315315 . should . equal ( Script . fromAddress ( changeAddress ) . toString ( ) ) ;
316316 var actual = transaction . getChangeOutput ( ) . script . toString ( ) ;
@@ -384,7 +384,7 @@ describe('Transaction', function() {
384384 . sign ( privateKey ) ;
385385 transaction . _estimateSize ( ) . should . be . within ( 1000 , 1999 ) ;
386386 transaction . outputs . length . should . equal ( 2 ) ;
387- transaction . outputs [ 1 ] . satoshis . should . equal ( 34000 ) ;
387+ transaction . outputs [ 1 ] . satoshis . should . equal ( 40687 ) ;
388388 } ) ;
389389 it ( 'if satoshis are invalid' , function ( ) {
390390 var transaction = new Transaction ( )
@@ -935,7 +935,7 @@ describe('Transaction', function() {
935935 . change ( changeAddress )
936936 . to ( toAddress , 1000 ) ;
937937 transaction . inputAmount . should . equal ( 100000000 ) ;
938- transaction . outputAmount . should . equal ( 99900000 ) ;
938+ transaction . outputAmount . should . equal ( 99977636 ) ;
939939 } ) ;
940940 it ( 'returns correct values for coinjoin transaction' , function ( ) {
941941 // see livenet tx c16467eea05f1f30d50ed6dbc06a38539d9bb15110e4b7dc6653046a3678a718
@@ -1007,7 +1007,7 @@ describe('Transaction', function() {
10071007 expect ( function ( ) {
10081008 tx . shuffleOutputs ( ) ;
10091009 } ) . to . not . throw ( errors . Transaction . InvalidSorting ) ;
1010- } )
1010+ } ) ;
10111011 } ) ;
10121012
10131013 describe ( 'clearOutputs' , function ( ) {
@@ -1027,7 +1027,7 @@ describe('Transaction', function() {
10271027 tx . outputs . length . should . equal ( 2 ) ;
10281028 tx . outputs [ 0 ] . satoshis . should . equal ( 10000000 ) ;
10291029 tx . outputs [ 0 ] . script . toAddress ( ) . toString ( ) . should . equal ( toAddress ) ;
1030- tx . outputs [ 1 ] . satoshis . should . equal ( 89900000 ) ;
1030+ tx . outputs [ 1 ] . satoshis . should . equal ( 89977636 ) ;
10311031 tx . outputs [ 1 ] . script . toAddress ( ) . toString ( ) . should . equal ( changeAddress ) ;
10321032 } ) ;
10331033
0 commit comments