Membuat objek getLastBlock untuk blockchain
Blockchain.prototype.getLastBlock = function() {
return this.chain[this.chain.length - 1];
}
Outrageous Ostrich
Blockchain.prototype.getLastBlock = function() {
return this.chain[this.chain.length - 1];
}