regarding call #4758
jeevansiddu
started this conversation in
General
regarding call
#4758
Replies: 1 comment 6 replies
-
I think releaseCapital function should be a part of the same transaction as it is been called when the condition is being met. are you getting any errors when complying a contract? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a fund function , inside the function if the fund amount is greater than a particular amount ., then I call an another function where I transfer some amount of money to the owner of smart contract .., The problem with this is whenever I call the fund function it is recorded as a block in transaction .., but when that fund calls an another function if a condition is met ., I want it also be recorded as a transaction ., but that is not happening
BELOW IS MY CODE ...,
here if totalfundraised >=target it calls releaseCapital which release some amount to owner .., can we make that transaction sending some amount to owner also as a seperate block in a transaction
Beta Was this translation helpful? Give feedback.
All reactions