Creación del objeto GetLastBlock para 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];
}