Skip to content

Commit

Permalink
fixes for black
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-o-how authored and Yostra committed Jan 12, 2021
1 parent eb6c2f3 commit d53409c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 3 additions & 1 deletion src/wallet/puzzles/generator_loader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from src.wallet.puzzles.load_clvm import load_clvm

GENERATOR_MOD = load_clvm("generator.clvm", package_or_requirement=__name__)
GENERATOR_FOR_SINGLE_COIN_MOD = load_clvm("generator_for_single_coin.clvm", package_or_requirement=__name__)
GENERATOR_FOR_SINGLE_COIN_MOD = load_clvm(
"generator_for_single_coin.clvm", package_or_requirement=__name__
)
16 changes: 8 additions & 8 deletions tests/test_cost_calculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ async def test_strict_mode(self):
)
assert spend_bundle is not None
program = binutils.assemble(
'(q ((0x3d2331635a58c0d49912bc1427d7db51afe3f20a7b4bcaffa17ee250dcbcbfaa'
'(((c (q ((c (q ((c (i 11 (q ((c (i (= 5 (point_add 11 '
'(pubkey_for_exp (sha256 11 ((c 6 (c 2 (c 23 (q ())))))))))'
' (q ((c 23 47))) (q (x))) 1))) (q (c (c 4 (c 5 (c ((c 6 (c 2'
' (c 23 (q ()))))) (q ())))) ((c 23 47))))) 1))) (c (q (57 (c '
'(i (l 5) (q (sha256 (q 2) ((c 6 (c 2 (c 9 (q ()))))) ((c 6 (c'
' 2 (c 13 (q ()))))))) (q (sha256 (q 1) 5))) 1))) 1)))) (c'
' (q 0x88bc9360319e7c54ab42e19e974288a2d7a817976f7633f4b43f36ce72074e59c4ab8ddac362202f3e366f0aebbb6280)'
"(q ((0x3d2331635a58c0d49912bc1427d7db51afe3f20a7b4bcaffa17ee250dcbcbfaa"
"(((c (q ((c (q ((c (i 11 (q ((c (i (= 5 (point_add 11 "
"(pubkey_for_exp (sha256 11 ((c 6 (c 2 (c 23 (q ())))))))))"
" (q ((c 23 47))) (q (x))) 1))) (q (c (c 4 (c 5 (c ((c 6 (c 2"
" (c 23 (q ()))))) (q ())))) ((c 23 47))))) 1))) (c (q (57 (c "
"(i (l 5) (q (sha256 (q 2) ((c 6 (c 2 (c 9 (q ()))))) ((c 6 (c"
" 2 (c 13 (q ()))))))) (q (sha256 (q 1) 5))) 1))) 1)))) (c"
" (q 0x88bc9360319e7c54ab42e19e974288a2d7a817976f7633f4b43f36ce72074e59c4ab8ddac362202f3e366f0aebbb6280)"
' 1))) (() (q ((65 "00000000000000000000000000000000" 0x0cbba106e000))) ())))))'
)

Expand Down

0 comments on commit d53409c

Please sign in to comment.