Skip to content

Commit

Permalink
Make constructor of contract-transfer example payable (use-ink#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi authored and xgreenx committed Feb 8, 2022
1 parent 406cfb1 commit 2fc09e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/contract-transfer/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub mod give_me {

impl GiveMe {
/// Creates a new instance of this contract.
#[ink(constructor)]
#[ink(constructor, payable)]
pub fn new() -> Self {
Self {}
}
Expand Down

0 comments on commit 2fc09e9

Please sign in to comment.