Skip to content

Commit

Permalink
Enable sending payments to fn invoke_transaction()
Browse files Browse the repository at this point in the history
It needs to be possible to send value with the transaction,
because `t.transferred_value` in this function could be set
to > 0.
  • Loading branch information
cmichi committed Jun 16, 2021
1 parent 09e8ec1 commit 9b051d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/multisig_plain/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ mod multisig_plain {
///
/// Its return value indicates whether the called transaction was successful.
/// This can be called by anyone.
#[ink(message)]
#[ink(message, payable)]
pub fn invoke_transaction(
&mut self,
trans_id: TransactionId,
Expand Down

0 comments on commit 9b051d2

Please sign in to comment.