Skip to content
Unverified Commit 8f6699be authored by Ankan's avatar Ankan Committed by GitHub
Browse files

[Staking] Propagate actual system error while staking::bond (#5627)

Trivial and self explanatory changes. 

Wrapping err such as these makes debugging harder as well as does not
really give any meaningful reason why this happened. The increment of
consumer can genuinely fail if there are no providers (account does not
exist) or it reaches max consumers. In both cases, its better to
propagate the actual System err.
parent 4e7c9e7f
Pipeline #496687 waiting for manual action with stages
in 34 minutes and 52 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment