File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -236,33 +236,6 @@ export class WalletCoreWrapper {
236236    return  out . dataHash 
237237  } 
238238
239-   buildEVMUnsignedTx ( jsonStr : string ) : Uint8Array  { 
240-     const  req  =  JSON . parse ( jsonStr ) ; 
241- 
242-     const  opPayment  =  TW . Stellar . Proto . OperationPayment . create ( { 
243-       destination : req . destination , 
244-       amount : Long . fromString ( String ( req . amount ) ) , 
245-     } ) 
246-     const  memoText  =  this . TW . Stellar . Proto . MemoText . create ( { 
247-       text : req . memoText 
248-     } ) 
249-     const  input  =  { 
250-       fee  : req . fee , 
251-       account : req . account , 
252-       passphrase : 'Public Global Stellar Network ; September 2015' , 
253-       sequence : Long . fromString ( String ( req . sequence ) ) , 
254-       opPayment : opPayment , 
255-       memoText : memoText 
256-     } ; 
257-     return  this . TW . Stellar . Proto . SigningInput . encode ( input ) . finish ( ) ; 
258-   } 
259- 
260-   buildEVMUnsignedMessage ( txInput : Uint8Array ) : Uint8Array   { 
261-     const  preimage  =  this . preImageHashes ( this . CoinType . stellar ,  txInput ) ; 
262-     const  out  =  this . TW . TxCompiler . Proto . PreSigningOutput . decode ( preimage ) 
263-     return  out . dataHash 
264-   } 
265- 
266239  marshalInput ( input : protobuf . Writer ) : Uint8Array  { 
267240    return  input . finish ( ) ; 
268241  } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments