Skip to content

Commit a6dc715

Browse files
authored
Merge pull request #12 from AvailX/feat/mobile-prover-delegation-types
Updated fee as option
2 parents ea9ecb6 + b274e1c commit a6dc715

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/mobile_prover.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub struct ProverRequest {
1313
pub address: String,
1414
pub auth_object_bytes: Vec<u8>,
1515
pub network: SupportedNetworks,
16-
pub fee_auth: Vec<u8>,
16+
pub fee_auth: Option<Vec<u8>>,
1717
// maybe add rng
1818
}
1919

@@ -22,7 +22,7 @@ impl ProverRequest {
2222
address: String,
2323
auth_object_bytes: Vec<u8>,
2424
network: SupportedNetworks,
25-
fee_auth: Vec<u8>,
25+
fee_auth: Option<Vec<u8>>,
2626
) -> Self {
2727
Self {
2828
address,

0 commit comments

Comments
 (0)