Skip to content

Commit

Permalink
Update processor for fee priority change
Browse files Browse the repository at this point in the history
  • Loading branch information
j-berman committed Dec 28, 2023
1 parent 12ce233 commit 1df4b8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion processor/src/networks/monero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ impl Network for Monero {
vec![(address.into(), amount - fee)],
&Change::fingerprintable(Some(Self::test_address().into())),
vec![],
self.rpc.get_fee(protocol, FeePriority::Low).await.unwrap(),
self.rpc.get_fee(protocol, FeePriority::Unimportant).await.unwrap(),
)
.unwrap()
.sign(&mut OsRng, &Zeroizing::new(Scalar::ONE.0))
Expand Down
2 changes: 1 addition & 1 deletion tests/full-stack/src/tests/mint_and_burn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ async fn mint_and_burn_test() {
)],
&Change::new(&view_pair, false),
vec![Shorthand::transfer(None, serai_addr).encode()],
rpc.get_fee(Protocol::v16, FeePriority::Low).await.unwrap(),
rpc.get_fee(Protocol::v16, FeePriority::Unimportant).await.unwrap(),
)
.unwrap()
.sign(&mut OsRng, &Zeroizing::new(Scalar::ONE))
Expand Down
2 changes: 1 addition & 1 deletion tests/processor/src/networks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ impl Wallet {
vec![(to_addr, AMOUNT)],
&Change::new(view_pair, false),
data,
rpc.get_fee(Protocol::v16, FeePriority::Low).await.unwrap(),
rpc.get_fee(Protocol::v16, FeePriority::Unimportant).await.unwrap(),
)
.unwrap()
.sign(&mut OsRng, spend_key)
Expand Down

0 comments on commit 1df4b8c

Please sign in to comment.