-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] Specifying just --username results in undefined method `gsub' for nil:NilClass (NoMethodError) #9
Comments
PATCH: diff --git a/bitcoin.rb b/bitcoin.rb
index 81d7b9f..119d1c6 100644
--- a/bitcoin.rb
+++ b/bitcoin.rb
@@ -45,6 +45,9 @@ module Bitcoin
# This is a workaround; URI needs escaped username and password
if username
uri.user = URI.escape username, /[^#{URI::PATTERN::UNRESERVED}]/
+ uri.password = ''
+ end
+ if password
uri.password = URI.escape password, /[^#{URI::PATTERN::UNRESERVED}]/
end |
devurandom
added a commit
to devurandom/cellminer
that referenced
this issue
Apr 10, 2013
Eligius does not require a password, so make it default to the empty string.
devurandom
added a commit
to devurandom/cellminer
that referenced
this issue
Apr 23, 2013
* patch-2: Empty passwords do not work for Eligius Fix issue verement#9
devurandom
added a commit
to devurandom/cellminer
that referenced
this issue
Apr 23, 2013
* patch-2: Empty passwords do not work for Eligius Fix issue verement#9
devurandom
added a commit
to devurandom/cellminer
that referenced
this issue
Apr 23, 2013
* patch-2: Empty passwords do not work for Eligius Fix issue verement#9
devurandom
added a commit
to devurandom/cellminer
that referenced
this issue
Apr 23, 2013
* patch-2: Empty passwords do not work for Eligius Fix issue verement#9
devurandom
added a commit
to devurandom/cellminer
that referenced
this issue
Apr 23, 2013
* patch-2: Empty passwords do not work for Eligius Fix issue verement#9
devurandom
added a commit
to devurandom/cellminer
that referenced
this issue
Apr 23, 2013
* patch-2: Empty passwords do not work for Eligius Fix issue verement#9
devurandom
added a commit
to devurandom/cellminer
that referenced
this issue
Apr 24, 2013
Eligius does not require a password, so make it default to the same value that bfgminer uses: -1 (Eligius ignores this anyway)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: