Skip to content

Commit 0b11466

Browse files
authored
Revert ResourceBounds field to u128. (#21)
1 parent 6f14879 commit 0b11466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/starknet/resource_bounds.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ use starknet_types_core::felt::Felt;
66
pub struct ResourceBounds {
77
pub resource: Felt,
88
pub max_amount: u64,
9-
pub max_price_per_unit: u64,
9+
pub max_price_per_unit: u128,
1010
}
1111

1212
impl ResourceBounds {
1313
pub(crate) fn into_value(self) -> Value {
1414
Value::Struct(vec![
1515
Value::Felt(self.resource),
1616
Value::U64(self.max_amount),
17-
Value::U64(self.max_price_per_unit),
17+
Value::U128(self.max_price_per_unit),
1818
])
1919
}
2020
}

0 commit comments

Comments
 (0)