// In the Blockchain.js
function Blockchain() {
this.chain = []; //stores our blocks
this.pendingTransactions = []; //this contains our pending transaction before create a new block
}
// In the Blockchain.js
function Blockchain() {
this.chain = []; //stores our blocks
this.pendingTransactions = []; //this contains our pending transaction before create a new block
}