Création d'un objet GetLastBlock pour la blockchain

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