mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-05 11:23:39 +00:00
1e9f86b49e
The error returned by client.Upload was previously being ignored due to becoming out of scope outside the if statement. This has been fixed by instead defining a function which returns the hash and error (rather than trying to set the hash in each branch of the if statement).