func (server *OpencxServer) GetAddressMap(pubkey *koblitz.PublicKey) (addrMap map[*coinparam.Params]string, err error) {
	// go through each enabled wallet in the server and create a new address for them.
	addrMap = make(map[*coinparam.Params]string)
	for param := range server.WalletMap {
		if addrMap[param], err = server.GetAddrForCoin(param, pubkey); err != nil {
			return
		}
	}
	return
}
// GetAddressMap gets an address map for a pubkey. This is so we can register multiple ways.
GetAddressMap gets an address map for a pubkey. This is so we can register multiple ways.
// GetAddressMap gets an address map for a pubkey . This is so we can register multiple ways .
func (server *OpencxServer) GetAddressMap(pubkey *koblitz.PublicKey) (addrMap map[*coinparam.Params]string, err error) {
	addrMap = make(map[*coinparam.Params]string)
	for param := range server.WalletMap {
		if addrMap[param], err = server.GetAddrForCoin(param, pubkey); err != nil {
			return
		}
	}
	return
}
func ( server * OpencxServer ) GetAddressMap ( pubkey * koblitz . PublicKey ) ( addrMap map [ * coinparam . Params ] string , err error ) { addrMap = make ( map [ * coinparam . Params ] string ) for param := range server . WalletMap { if addrMap [ param ] , err = server . GetAddrForCoin ( param , pubkey ) ; err != nil { return } } return }
GetAddressMap gets an address map for a pubkey.
GetAddressMap gets an address map for a pubkey .
// go through each enabled wallet in the server and create a new address for them.