diff --git a/lib/ain-grpc/src/transaction_request.rs b/lib/ain-grpc/src/transaction_request.rs index ed107e2e820..492bc8ad437 100644 --- a/lib/ain-grpc/src/transaction_request.rs +++ b/lib/ain-grpc/src/transaction_request.rs @@ -57,7 +57,7 @@ impl From for Option { gas_limit: req.gas.unwrap_or_default(), value: req.value.unwrap_or_default(), input: req.input.map(Bytes::into_vec) - .unwrap_or(req.data.map(Bytes::into_vec).unwrap_or_default()), + .unwrap_or(req.data.map(Bytes::into_vec).unwrap_or_default()), action: match req.to { Some(to) => ethereum::TransactionAction::Call(to), None => ethereum::TransactionAction::Create, @@ -71,7 +71,7 @@ impl From for Option { gas_limit: req.gas.unwrap_or_default(), value: req.value.unwrap_or_default(), input: req.input.map(Bytes::into_vec) - .unwrap_or(req.data.map(Bytes::into_vec).unwrap_or_default()), + .unwrap_or(req.data.map(Bytes::into_vec).unwrap_or_default()), action: match req.to { Some(to) => ethereum::TransactionAction::Call(to), None => ethereum::TransactionAction::Create, @@ -89,7 +89,7 @@ impl From for Option { gas_limit: req.gas.unwrap_or_default(), value: req.value.unwrap_or_default(), input: req.input.map(Bytes::into_vec) - .unwrap_or(req.data.map(Bytes::into_vec).unwrap_or_default()), + .unwrap_or(req.data.map(Bytes::into_vec).unwrap_or_default()), action: match req.to { Some(to) => ethereum::TransactionAction::Call(to), None => ethereum::TransactionAction::Create,