Skip to content

Commit

Permalink
[Minor] Fix find invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jul 30, 2020
1 parent e8437ef commit 0c9f4a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rules/bitcoin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ local function verify_beach32_cksum(hrp, elts)
return polymod(hrpExpand(hrp), elts) == 1
end


local function gen_bleach32_table(input)
local d = {}
local i = 1
Expand All @@ -108,7 +109,7 @@ local function gen_bleach32_table(input)

fun.each(function(byte)
if res then
local pos = charset:find(byte)
local pos = charset:find(byte, 1, true)
if not pos then
res = false
else
Expand Down

0 comments on commit 0c9f4a5

Please sign in to comment.