Skip to content

Commit 05e3ecf

Browse files
committed
script: remove bignum dependency
1 parent 4f497cd commit 05e3ecf

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/script.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include "script.h"
77

8-
#include "bignum.h"
98
#include "core.h"
109
#include "hash.h"
1110
#include "key.h"

src/script.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#ifndef H_BITCOIN_SCRIPT
77
#define H_BITCOIN_SCRIPT
88

9-
#include "bignum.h"
109
#include "key.h"
1110
#include "util.h"
1211

@@ -441,7 +440,6 @@ class CScript : public std::vector<unsigned char>
441440
explicit CScript(opcodetype b) { operator<<(b); }
442441
explicit CScript(const uint256& b) { operator<<(b); }
443442
explicit CScript(const CScriptNum& b) { operator<<(b); }
444-
explicit CScript(const CBigNum& b) { operator<<(b); }
445443
explicit CScript(const std::vector<unsigned char>& b) { operator<<(b); }
446444

447445

@@ -477,12 +475,6 @@ class CScript : public std::vector<unsigned char>
477475
return *this;
478476
}
479477

480-
CScript& operator<<(const CBigNum& b)
481-
{
482-
*this << b.getvch();
483-
return *this;
484-
}
485-
486478
CScript& operator<<(const CScriptNum& b)
487479
{
488480
*this << b.getvch();

0 commit comments

Comments
 (0)