Skip to main content
6 events
when toggle format what by license comment
Oct 23, 2018 at 18:37 history edited Shane Fontaine CC BY-SA 4.0
Add formatting for future viewers
Mar 15, 2018 at 19:51 comment added user19510 Yes, I believe you're correct. If you want to forward more gas, you can use recipient_addr.call.value(n)(), where n is the amount of wei you want to send.
Mar 15, 2018 at 19:48 comment added Bobo Amitheson I have added in the fallback function code. From the reading I have done would it be correct to say that the fallback function does not succeed because the operations of the fallback function would exceed the 2300 gas stipend that transfer / send has for the fallback function?
Mar 15, 2018 at 19:47 history edited Bobo Amitheson CC BY-SA 3.0
added 564 characters in body
Mar 15, 2018 at 19:21 comment added user19510 The code you shared is correct and will trigger a payable fallback function in recipient_adr if it has one. If you're still having trouble, you'll need to share the full code (including the code behind recipient_adr) and how you're deploying the contract's and passing the address to this function, as well as the exact error you're seeing when you say it "does not work."
Mar 15, 2018 at 18:42 history asked Bobo Amitheson CC BY-SA 3.0