Bug/01 history

* check if peerAction is defined
* removed unnecessary console.log

Fixes #1644

Note: transactions proposals before this fix (#1612) are without peers informations.