Map TransferKind::EofCreate => OperationType::OpEofCreate (#11090)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Emilia Hane
2024-10-03 17:32:03 +02:00
committed by GitHub
parent af465623cb
commit 6c16df2365

View File

@ -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<_>>()