Fixes for emit ledger_closed.
Fixes for emit ledger_closed.

darkdarkdragon/ripple-lib,wilsonianb/ripple-lib,darkdarkdragon/ripple-lib,ripple/ripple-lib,ripple/ripple-lib,darkdarkdragon/ripple-lib,wilsonianb/ripple-lib,wilsonianb/ripple-lib,ripple/ripple-lib,ripple/ripple-lib