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
#!/usr/bin/env ruby | |
files = `git diff-index --name-status --cached HEAD | grep -v ^D | cut -c3-` | |
unless files == '' | |
files.split("\n").each do |f| | |
# Only examine known text files | |
if f =~ /.(conf|css|erb|html|haml|scss|css|js|json|log|properties|rb|ru|txt|xml|yml)$/ && f =~ /^tapjoyads\/(app|test|lib|public|db\/migrate|config)\// | |
# Add a linebreak to the file if it doesn't have one | |
if `tail -c1 #{f}` != "\n" | |
`echo >> #{f}` |
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
diff --git a/java/nxt/Account.java b/java/nxt/Account.java | |
index ca16347..cdd7c48 100644 | |
--- a/java/nxt/Account.java | |
+++ b/java/nxt/Account.java | |
@@ -549,9 +549,6 @@ public final class Account { | |
} | |
private void checkBalance() { | |
- if (id.equals(Genesis.CREATOR_ID)) { | |
- return; |