diff --git a/examples/contract-transfer/lib.rs b/examples/contract-transfer/lib.rs index eece33cd578..8c8b9e0fbab 100644 --- a/examples/contract-transfer/lib.rs +++ b/examples/contract-transfer/lib.rs @@ -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 {} }