@@ -112,7 +112,6 @@ describe('Tao Move Stake Builder', function () {
112112 explanation . outputs [ 0 ] . should . deepEqual ( {
113113 address : '5Ffp1wJCPu4hzVDTo7XaMLqZSvSadyUQmxWPDw74CBjECSoq' ,
114114 amount : '9007199254740995' ,
115- tokenName : utils . getTaoTokenBySubnetId ( '1' ) . name ,
116115 } ) ;
117116 } ) ;
118117
@@ -154,9 +153,6 @@ describe('Tao Move Stake Builder', function () {
154153 txJson . originNetuid . should . equal ( '1' ) ;
155154 txJson . destinationNetuid . should . equal ( '2' ) ;
156155 txJson . alphaAmount . should . equal ( '1000000000000' ) ;
157-
158- const explanation = tx . explainTransaction ( ) ;
159- explanation . outputs [ 0 ] . tokenName . should . equal ( 'ttao:onion' ) ;
160156 } ) ;
161157 } ) ;
162158
@@ -470,7 +466,7 @@ describe('Tao Move Stake Builder', function () {
470466
471467 explanation . should . have . properties ( [ 'outputs' , 'outputAmount' , 'changeAmount' , 'fee' , 'type' ] ) ;
472468 explanation . outputs . should . have . length ( 1 ) ;
473- explanation . outputs [ 0 ] . should . have . properties ( [ 'address' , 'amount' , 'tokenName' ] ) ;
469+ explanation . outputs [ 0 ] . should . have . properties ( [ 'address' , 'amount' ] ) ;
474470 explanation . outputs [ 0 ] . address . should . equal ( '5Ffp1wJCPu4hzVDTo7XaMLqZSvSadyUQmxWPDw74CBjECSoq' ) ;
475471 explanation . outputs [ 0 ] . amount . should . equal ( '1000000000000' ) ;
476472 explanation . changeAmount . should . equal ( '0' ) ;
0 commit comments