-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove btc deposit fee v1 and improve unit tests (#2899)
* remove CalcDepositorFeeV2; add unit tests; migration mock btc client to Mockery * replace manual btc rpc mock with Mockery * move createRPCClientAndLoadTx to testutils package as CreateBTCRPCAndLoadTx * move GetSenderAddressByVin to inbound.go as it's for inbound observation * add unit test for IsBlockConfirmed * add changelog entry * remove unused constants * move changelog entry under Refactor section; created sub method DecodeSenderFromScript() and added unit tests
- Loading branch information
1 parent
d14b200
commit 3eba701
Showing
19 changed files
with
1,097 additions
and
544 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
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
Oops, something went wrong.