Skip to content

Commit 2c0fcd9

Browse files
committed
Convert to an Option feeback field from TransactionData<T>
structure because is only used in cases of rejection
1 parent 396e532 commit 2c0fcd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/proxy-financial/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub struct TransactionData<T: Config> {
156156
pub created_date: u64,
157157
pub updated_date: u64,
158158
pub closed_date: u64,
159-
pub feedback: FieldDescription,
159+
pub feedback: Option<FieldDescription>,
160160
pub amount: u64,
161161
pub status: TransactionStatus,
162162
pub documents: Option<Documents<T>>,

0 commit comments

Comments
 (0)