mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-13 19:37:49 +01:00
ScriptBuilder: make bigNum() public
We will need this to construct genesis block scriptSigs, which use a pushdata of a small value that would, optimally encoded, be pushed via OP_n.
This commit is contained in:
parent
281bb3ab40
commit
4fe444ddb2
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ public class ScriptBuilder {
|
||||||
*
|
*
|
||||||
* @see #number(long)
|
* @see #number(long)
|
||||||
*/
|
*/
|
||||||
protected ScriptBuilder bigNum(long num) {
|
public ScriptBuilder bigNum(long num) {
|
||||||
final byte[] data;
|
final byte[] data;
|
||||||
|
|
||||||
if (num == 0) {
|
if (num == 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue