We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ab3948 commit 6ade81fCopy full SHA for 6ade81f
1 file changed
bitHopper/LongPoll_Listener/Learning.py
@@ -57,10 +57,7 @@ def extract_vector(current_block):
57
58
def calculate_block(current_block):
59
print 'calculate block called'
60
- if len(weights) != len(extract_vector(current_block)):
61
- print 'Lengths do not match'
62
- print weights, extract_vector(current_block)
63
- if sum(vec_mult(weights, extract_vector(current_block))) > 0:
+ if vec_mult(weights, extract_vector(current_block)) > 0:
64
print 'triggered'
65
btcnet_info.get_pool('deepbit').namespace.get_node('shares').set_value(0)
66
#Reset shares on deepbit
0 commit comments