X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=api%2Fapi.go;h=bea80e6aaa2b0fa663e0ca060d48890e160a0c6f;hp=940d6d282d66730b3aad6207e1e77364abf9ffba;hb=daba4101f8c0712a5976e7431dbc6a650d02bb82;hpb=a785eadf449aa889ef18ad38b09f256c9147a714 diff --git a/api/api.go b/api/api.go index 940d6d28..bea80e6a 100644 --- a/api/api.go +++ b/api/api.go @@ -248,6 +248,7 @@ func (a *API) buildHandler() { m.Handle("/recovery-wallet", jsonHandler(a.recoveryFromRootXPubs)) m.Handle("/get-pegin-address", jsonHandler(a.getPeginAddress)) + m.Handle("/get-pegin-contract-address", jsonHandler(a.getAddressForPeginContract)) m.Handle("/claim-pegin-transaction", jsonHandler(a.claimPeginTx)) m.Handle("/create-key-pair", jsonHandler(a.createXKeys)) m.Handle("/get-utxo-from-transaction", jsonHandler(a.getUnspentOutputs))