-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix transfer back asynccall #3015
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3015 +/- ##
=======================================
Coverage 75.08% 75.08%
=======================================
Files 629 629
Lines 60808 60826 +18
=======================================
+ Hits 45658 45672 +14
- Misses 11035 11037 +2
- Partials 4115 4117 +2
Continue to review full report at Codecov.
|
process/smartContract/process.go
Outdated
@@ -1250,6 +1250,22 @@ func (sc *scProcessor) addBackTxValues( | |||
scrIfError.Value = big.NewInt(0).Set(valueForSnd) | |||
} | |||
|
|||
if sc.flagSenderInOutTransfer.IsSet() && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should use a bool var here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
6f91842
add the value to the destination if async callback fails