Skip to content

Commit

Permalink
Fix big size blocks bug from NBitcoin
Browse files Browse the repository at this point in the history
  • Loading branch information
dangershony committed Feb 2, 2023
1 parent 57a93a8 commit 880292e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blockcore/NBitcoin/BitcoinStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public BitcoinStream(Stream inner, bool serializing, ConsensusFactory consensus,

this.isNetworkStream = inner is NetworkStream;
this.Inner = inner;
this.MaxArraySize = 1024 * 1024;
this.MaxArraySize = 1024 * 1024 * 4;
}

public BitcoinStream(Stream inner, bool serializing, ConsensusFactory consensus)
Expand Down

0 comments on commit 880292e

Please sign in to comment.