fixed up longcode and working merkleVerify
update ledger code
fix the merge