You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When define an instance of the call and reuse the contract instance to AddCall or Call in more than 1 routines. The race condition was happen.
Reproduce
abi = call.NewContracBuilder().AddMethod(...)
go func(){
abi.AddCall(...)
abi.AddCall(...)
abi.Call(nil)
}()
go func(){
abi.AddCall(...)
abi.AddCall(...)
abi.Call(nil)
}()
Expected
Optimize it for the threadsafe
The text was updated successfully, but these errors were encountered:
Description
When define an instance of the call and reuse the contract instance to
AddCall
orCall
in more than 1 routines. The race condition was happen.Reproduce
Expected
Optimize it for the threadsafe
The text was updated successfully, but these errors were encountered: