From 70fc55b9ec83821afed3de3f9e9184968fb53695 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Wed, 19 Jan 2022 14:06:00 +0100 Subject: [PATCH] Make constructor of `contract-transfer` example `payable` --- examples/contract-transfer/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {} }