Skip to content

Commit

Permalink
Correct check_weight_and_fee call
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Sep 6, 2024
1 parent b642fac commit 7d2399c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions networks/monero/wallet/tests/wallet2_compatibility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use serde_json::json;
use monero_simple_request_rpc::SimpleRequestRpc;
use monero_wallet::{
transaction::Transaction,
rpc::Rpc,
rpc::{FeePriority, Rpc},
address::{Network, SubaddressIndex, MoneroAddress},
extra::{MAX_ARBITRARY_DATA_SIZE, Extra, PaymentId},
Scanner,
Expand Down Expand Up @@ -118,7 +118,7 @@ async fn from_wallet_rpc_to_self(spec: AddressSpec) {
scanner.scan(&daemon_rpc, &block).await.unwrap().not_additionally_locked().swap_remove(0);
assert_eq!(output.transaction(), tx_hash);

runner::check_weight_and_fee(&tx, fee_rate);
runner::check_weight_and_fee(&daemon_rpc.get_transaction(tx_hash).await.unwrap(), fee_rate);

match spec {
AddressSpec::Subaddress(index) => {
Expand Down

0 comments on commit 7d2399c

Please sign in to comment.