lib/cryptoruby/blockchain.rb in cryptoruby-0.1.1 vs lib/cryptoruby/blockchain.rb in cryptoruby-0.1.2
- old
+ new
@@ -37,11 +37,11 @@
end
if current_block.previous_hash != previous_block.hash
p 'Previous hash doesnt match with the current one'
return false
end
- return true
end
+ return true
end
def export
{
difficult: difficult,
\ No newline at end of file