Skip to content

Commit d107161

Browse files
committed
fix: rebase issues
1 parent dcffed3 commit d107161

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

package-lock.json

Lines changed: 1 addition & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/taproot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@ function serializeScript(s) {
144144
}
145145
// todo: do not use ecc
146146
function pointAddScalar(P, h) {
147-
return ecc.pointAddScalar(P, h);
147+
return buffer_1.Buffer.from(ecc.pointAddScalar(P, h));
148148
}

ts_src/taproot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,5 @@ function serializeScript(s: Buffer): Buffer {
181181

182182
// todo: do not use ecc
183183
function pointAddScalar(P: Buffer, h: Buffer): Buffer {
184-
return ecc.pointAddScalar(P, h);
184+
return NBuffer.from(ecc.pointAddScalar(P, h));
185185
}

0 commit comments

Comments
 (0)