Skip to content

Commit 880292e

Browse files
committed
Fix big size blocks bug from NBitcoin
1 parent 57a93a8 commit 880292e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Blockcore/NBitcoin/BitcoinStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public BitcoinStream(Stream inner, bool serializing, ConsensusFactory consensus,
9696

9797
this.isNetworkStream = inner is NetworkStream;
9898
this.Inner = inner;
99-
this.MaxArraySize = 1024 * 1024;
99+
this.MaxArraySize = 1024 * 1024 * 4;
100100
}
101101

102102
public BitcoinStream(Stream inner, bool serializing, ConsensusFactory consensus)

0 commit comments

Comments
 (0)