Remove Fee from the Network API

The only benefit to having it would be the ability to cache it across
prepare_send, which can be done internally to the Network.
This commit is contained in:
Luke Parker
2023-10-20 16:12:26 -04:00
parent 5977121c48
commit c056b751fe
7 changed files with 39 additions and 81 deletions

View File

@@ -41,7 +41,6 @@ async fn spend<N: Network, D: Db>(
payments: vec![],
change: Some(N::change_address(key)),
},
network.get_fee().await,
0,
)
.await