File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -812,9 +812,11 @@ impl Drk {
812812 // Grab the note from the child auth call
813813 let child_idx = call. children_indexes [ 0 ] ;
814814 let child_call = & calls[ child_idx] ;
815- let child_params: MoneyAuthTokenMintParamsV1 =
816- deserialize_async ( & child_call. data . data [ 1 ..] ) . await ?;
817- coins. push ( ( params. coin , child_params. enc_note , false ) ) ;
815+ // TODO: Grab the encrypted note from custom auth calls
816+ match deserialize_async :: < MoneyAuthTokenMintParamsV1 > ( & child_call. data . data [ 1 ..] ) . await {
817+ Ok ( child_params) => coins. push ( ( params. coin , child_params. enc_note , false ) ) ,
818+ Err ( _) => scan_cache. log ( String :: from ( "[parse_money_call] Found non-native contract Token mint authority, skipping." ) ) ,
819+ }
818820 }
819821 MoneyFunction :: BurnV1 => {
820822 scan_cache. log ( String :: from ( "[parse_money_call] Found Money::BurnV1 call" ) ) ;
You can’t perform that action at this time.
0 commit comments