@@ -136,16 +136,16 @@ describe('IOTA:', function () {
136136 } ) ;
137137
138138 describe ( 'explainTransaction' , ( ) => {
139- it ( 'should throw error for missing txBase64 ' , async function ( ) {
139+ it ( 'should throw error for missing txHex ' , async function ( ) {
140140 await assert . rejects (
141- async ( ) => await basecoin . explainTransaction ( { txBase64 : '' } ) ,
142- / m i s s i n g r e q u i r e d t x p r e b u i l d p r o p e r t y t x B a s e 6 4 /
141+ async ( ) => await basecoin . explainTransaction ( { txHex : '' } ) ,
142+ / m i s s i n g r e q u i r e d t x p r e b u i l d p r o p e r t y t x H e x /
143143 ) ;
144144 } ) ;
145145
146146 it ( 'should throw error for invalid transaction' , async function ( ) {
147147 await assert . rejects (
148- async ( ) => await basecoin . explainTransaction ( { txBase64 : 'invalidTxBase64 ' } ) ,
148+ async ( ) => await basecoin . explainTransaction ( { txHex : 'invalidTxHex ' } ) ,
149149 / F a i l e d t o r e b u i l d t r a n s a c t i o n /
150150 ) ;
151151 } ) ;
@@ -171,14 +171,14 @@ describe('IOTA:', function () {
171171 } ) ;
172172
173173 describe ( 'verifyTransaction' , ( ) => {
174- it ( 'should throw error for missing txBase64 ' , async function ( ) {
174+ it ( 'should throw error for missing txHex ' , async function ( ) {
175175 await assert . rejects (
176176 async ( ) =>
177177 await basecoin . verifyTransaction ( {
178178 txPrebuild : { } ,
179179 txParams : { recipients : testData . recipients } ,
180180 } ) ,
181- / m i s s i n g r e q u i r e d t x p r e b u i l d p r o p e r t y t x B a s e 6 4 /
181+ / m i s s i n g r e q u i r e d t x p r e b u i l d p r o p e r t y t x H e x /
182182 ) ;
183183 } ) ;
184184
@@ -237,7 +237,7 @@ describe('IOTA:', function () {
237237 describe ( 'parseTransaction' , ( ) => {
238238 it ( 'should throw error for invalid transaction' , async function ( ) {
239239 await assert . rejects (
240- async ( ) => await basecoin . parseTransaction ( { txBase64 : 'invalidTxBase64 ' } ) ,
240+ async ( ) => await basecoin . parseTransaction ( { txHex : 'invalidTxHex ' } ) ,
241241 / F a i l e d t o r e b u i l d t r a n s a c t i o n /
242242 ) ;
243243 } ) ;
0 commit comments