-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use swap instead of move in addForBlock
Use swap instead of move in DisconnectedBlockTransactions::addForBlock in order to avoid potential problems for reusing the parents variable after having moved it. Signed-off-by: Andres Correa Casablanca <andres@thirdhash.com>
- Loading branch information
Andres Correa Casablanca
committed
Jan 17, 2019
1 parent
f14ebdd
commit 94f630c
Showing
3 changed files
with
5 additions
and
6 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
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