Skip to content

Commit

Permalink
Map TransferKind::EofCreate => OperationType::OpEofCreate (#11090)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Seitz <[email protected]>
  • Loading branch information
emhane and mattsse authored Oct 3, 2024
1 parent af46562 commit 6c16df2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/rpc/rpc/src/otterscan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,10 @@ where
value: op.value,
r#type: match op.kind {
TransferKind::Call => OperationType::OpTransfer,
TransferKind::Create | TransferKind::EofCreate => {
OperationType::OpCreate
}
TransferKind::Create => OperationType::OpCreate,
TransferKind::Create2 => OperationType::OpCreate2,
TransferKind::SelfDestruct => OperationType::OpSelfDestruct,
TransferKind::EofCreate => OperationType::OpEofCreate,
},
})
.collect::<Vec<_>>()
Expand Down

0 comments on commit 6c16df2

Please sign in to comment.