-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: rotateAuthAccount failed when called twice (#154)
When `giveOwnership` and `addOwnedAccount` are executed in the same transaction `rotateAuthAccount` will be called twice. However, during the second call, since authAcctPath is the same, it will cause `acct.linkAccount` to return `nil` as a result. Personal opinion, it would be better to change `HybridCustody` overall to CapCons coding style. --------- Co-authored-by: Giovanni Sanchez <[email protected]>
- Loading branch information
1 parent
0ddf6b8
commit 84ab4b8
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters