ripple-binary-codec refactor (#88)

Refactored all components in ripple-binary-codec /src
This commit is contained in:
Nathan Nichols
2020-07-31 09:14:11 -05:00
parent 383ab88d62
commit 2e6c68ba73
37 changed files with 1932 additions and 1707 deletions

View File

@@ -21,7 +21,7 @@ function makeItem (indexArg) {
index.toBytesSink(sink)
},
hashPrefix () {
return [1, 3, 3, 7]
return Buffer.from([1, 3, 3, 7])
}
}
return [index, item]