Skip to content

Commit

Permalink
add coins to the last stack element
Browse files Browse the repository at this point in the history
  • Loading branch information
modship committed Oct 18, 2023
1 parent f5a5db9 commit a01e96c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion massa-api/src/public.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ use massa_execution_exports::{
};
use massa_models::{
address::Address,
amount::Amount,
block::{Block, BlockGraphStatus},
block_id::BlockId,
clique::Clique,
Expand Down Expand Up @@ -274,7 +275,7 @@ impl MassaRpcServer for API<Public> {
},
ExecutionStackElement {
address: target_address,
coins: Default::default(),
coins: coins.unwrap_or(Amount::default()),
owned_addresses: vec![target_address],
operation_datastore: None, // should always be None
},
Expand Down

0 comments on commit a01e96c

Please sign in to comment.