File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ pub struct TransactionEventPayload<'a> {
342
342
#[ serde( with = "prefix_hex_codec" ) ]
343
343
/// The raw transaction result
344
344
pub raw_result : Value ,
345
- /// The hex encoded raw transaction
345
+ /// The 0x prefixed, hex encoded raw transaction
346
346
pub raw_tx : String ,
347
347
/// The contract interface
348
348
pub contract_interface : Option < ContractInterface > ,
@@ -644,10 +644,7 @@ impl EventObserver {
644
644
status,
645
645
raw_result : receipt. result . clone ( ) ,
646
646
raw_tx,
647
- contract_interface : receipt. contract_analysis . as_ref ( ) . map ( |analysis| {
648
- build_contract_interface ( analysis)
649
- . expect ( "FATAL: failed to serialize contract publish receipt" )
650
- } ) ,
647
+ contract_interface : receipt. contract_analysis . as_ref ( ) . map ( |analysis| build_contract_interface ( analysis) . expect ( "FATAL: failed to serialize contract publish receipt" ) ) ,
651
648
burnchain_op,
652
649
execution_cost : receipt. execution_cost . clone ( ) ,
653
650
microblock_sequence : receipt. microblock_header . as_ref ( ) . map ( |x| x. sequence ) ,
You can’t perform that action at this time.
0 commit comments