Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YeahNotSewerSide committed Jul 2, 2024
1 parent 11ef269 commit 26554b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockchaintree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ impl BlockChainTree {
if let Some(amount) = transaction.get_amount() {
// TODO: make into sled transaction
self.send_amount(transaction.get_sender(), transaction.get_receiver(), amount)?;
self.sub_amount(transaction.get_sender(), fee)?;
//self.sub_amount(transaction.get_sender(), fee)?;
self.sub_gas(transaction.get_sender(), gas_required)?;
}
Ok(())
Expand Down

0 comments on commit 26554b1

Please sign in to comment.